#203EA5#203EA5
#203EA5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.170 H 266.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #203EA5 |
|---|---|
| RGB | rgb(32, 62, 165) |
| HSL | hsl(226, 68%, 39%) |
| HSV | hsv(226, 81%, 65%) |
| CMYK | cmyk(80.6%, 62.4%, 0%, 35.3%) |
| CIE-LAB | lab(30.56, 28.09, -58.47) |
| CIE-LCH | lch(30.56, 64.87, 295.66°) |
| OKLab | oklab(41.21% -0.0111 -0.1691) |
| OKLCH | oklch(41.21% 0.17 266.3) |
| XYZ | xyz(9.1074, 6.4679, 36.3584) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.30
Cobalt
#0047AB
ΔE00 3.89
Blue Blue
#2242C7
ΔE00 4.78
Blueberry
#464196
ΔE00 5.58
Cobalt (survey)
#1E488F
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#203EA5 #A58720
analogous
#2080A5 #203EA5 #4420A5
triadic
#203EA5 #A5203E #3EA520
tetradic
#203EA5 #A52080 #A58720 #20A544
square
#203EA5 #A52080 #A58720 #20A544
split-complementary
#203EA5 #A54420 #80A520
monochromatic
#0C173E #162B72 #203EA5 #2C52D6 #5F7CE0
Accessibility & contrast
On white
9.16
#203EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#203EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #203EA5
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##203EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##203EA5 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #203ea5; /* rgb */ color: rgb(32, 62, 165); /* oklch */ color: oklch(41.2% 0.170 266.3);
Tailwind
colors: {
custom: {
50: '#7373c1',
500: '#203ea5',
950: '#000000',
},
}SCSS
$custom: #203ea5; $custom-light: #7373c1; $custom-dark: #000000;
JSON
{
"hex": "#203ea5",
"rgb": {
"r": 32,
"g": 62,
"b": 165
},
"hsl": {
"h": 226.466,
"s": 67.513,
"l": 38.627
},
"oklch": {
"l": 0.4121,
"c": 0.16951,
"h": 266.3
},
"luminance": 0.06469
}Semantic roles & 50–950 ramp
primary
#203EA5
secondary
#C5AD5C
accent
#C33DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81