#203F9E#203F9E
#203F9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.159 H 265.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #203F9E |
|---|---|
| RGB | rgb(32, 63, 158) |
| HSL | hsl(225, 66%, 37%) |
| HSV | hsv(225, 80%, 62%) |
| CMYK | cmyk(79.7%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(30.23, 24.70, -54.79) |
| CIE-LCH | lch(30.23, 60.10, 294.27°) |
| OKLab | oklab(40.78% -0.0118 -0.1583) |
| OKLCH | oklch(40.78% 0.159 265.7) |
| XYZ | xyz(8.5426, 6.3297, 33.1127) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Cobalt
#0047AB
ΔE00 3.62
Cobalt (survey)
#1E488F
ΔE00 4.60
Blueberry
#464196
ΔE00 5.57
Blue Blue
#2242C7
ΔE00 5.77
Darkish Blue
#014182
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#203F9E #9E7F20
analogous
#207E9E #203F9E #40209E
triadic
#203F9E #9E203F #3F9E20
tetradic
#203F9E #9E207E #9E7F20 #209E40
square
#203F9E #9E207E #9E7F20 #209E40
split-complementary
#203F9E #9E4020 #7E9E20
monochromatic
#0B1638 #162B6B #203F9E #2A53D1 #5B7BDE
Accessibility & contrast
On white
9.27
#203F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#203F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #203F9E
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##203F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##203F9E | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #203f9e; /* rgb */ color: rgb(32, 63, 158); /* oklch */ color: oklch(40.8% 0.159 265.7);
Tailwind
colors: {
custom: {
50: '#7173bb',
500: '#203f9e',
950: '#000000',
},
}SCSS
$custom: #203f9e; $custom-light: #7173bb; $custom-dark: #000000;
JSON
{
"hex": "#203f9e",
"rgb": {
"r": 32,
"g": 63,
"b": 158
},
"hsl": {
"h": 225.238,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.40775,
"c": 0.15877,
"h": 265.7
},
"luminance": 0.06331
}Semantic roles & 50–950 ramp
primary
#203F9E
secondary
#C2A858
accent
#BF3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81