#2563EB

Royal Blue

#2563EBRoyal Blue

Luminance

0.153

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#2563EB
No #
2563EB

RGB

RGB
rgb(37, 99, 235)
Values
R:37 G:99 B:235

HSL

HSL
hsl(221, 83%, 53%)
Values
H:221° S:83% L:53%

HSV / HSB

HSV
hsv(221, 84%, 92%)
Values
H:221° S:84% V:92%

CMYK

CMYK
cmyk(84%, 58%, 0%, 8%)
Values
C:84 M:58 Y:0 K:8

LAB

LAB
lab(46, 31, -74)
Values
L:46 a:31 b:-74

OKLCH

OKLCH
oklch(54.6% 0.215 262.9)
Values
L:54.6% C:0.215 H:262.9°

Code Formats

CSS
color: #2563EB;
Swift
UIColor(red: 0.145, green: 0.388, blue: 0.922, alpha: 1.0)
Kotlin
Color(0xFF2563EB)
Flutter
Color(0xFF2563EB)
Android
#FF2563EB

Contrast Analysis

WCAG compliance with grayscale colors

On White

5.17:1

AA

On Black

4.06:1

AA-large

Grayscale Contrast

Aa

0%

4.1

AA-large
Aa

10%

3.4

AA-large
Aa

20%

2.4

Fail
Aa

30%

1.6

Fail
Aa

40%

1.1

Fail
Aa

50%

1.3

Fail
Aa

60%

1.8

Fail
Aa

70%

2.5

Fail
Aa

80%

3.2

AA-large
Aa

90%

4.1

AA-large
Aa

100%

5.2

AA

Best Grayscale Contrast

#FFFFFF with ratio 5.17:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #81A5F3 0%, #0E3B9A 100%)
OKLCH
linear-gradient(90deg, oklch(72.7% 0.121 264.7) 0%, oklch(39.0% 0.162 262.5) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #447FFD 0%, #0045DB 100%)
OKLCH
linear-gradient(135deg, oklch(62.5% 0.198 263.0) 0%, oklch(47.1% 0.234 262.9) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #2563EB 0%, #EBAC24 100%)
OKLCH
linear-gradient(90deg, oklch(54.6% 0.215 262.9) 0%, oklch(78.4% 0.154 80.4) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #24C6EB 0%, #2563EB 50%, #4824EB 100%)
OKLCH
linear-gradient(90deg, oklch(76.5% 0.132 218.6) 0%, oklch(54.6% 0.215 262.9) 50%, oklch(47.3% 0.266 277.1) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #2463EB 0%, #0E192F 100%)
OKLCH
linear-gradient(180deg, oklch(54.6% 0.215 262.7) 0%, oklch(21.6% 0.046 263.0) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #6A95F1 0%, #1043B1 100%)
OKLCH
radial-gradient(circle, oklch(68.0% 0.144 264.0) 0%, oklch(42.8% 0.183 262.7) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette