#203F9B#203F9B
#203F9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.155 H 265.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #203F9B |
|---|---|
| RGB | rgb(32, 63, 155) |
| HSL | hsl(225, 66%, 37%) |
| HSV | hsv(225, 79%, 61%) |
| CMYK | cmyk(79.4%, 59.4%, 0%, 39.2%) |
| CIE-LAB | lab(29.98, 23.53, -53.38) |
| CIE-LCH | lch(29.98, 58.33, 293.79°) |
| OKLab | oklab(40.51% -0.0119 -0.1542) |
| OKLCH | oklch(40.51% 0.155 265.6) |
| XYZ | xyz(8.2875, 6.2277, 31.7693) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.71
Cobalt
#0047AB
ΔE00 3.72
Cobalt (survey)
#1E488F
ΔE00 4.31
Darkish Blue
#014182
ΔE00 5.60
Blueberry
#464196
ΔE00 5.61
Blue Blue
#2242C7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#203F9B #9B7C20
analogous
#207D9B #203F9B #3F209B
triadic
#203F9B #9B203F #3F9B20
tetradic
#203F9B #9B207D #9B7C20 #209B3F
square
#203F9B #9B207D #9B7C20 #209B3F
split-complementary
#203F9B #9B3F20 #7D9B20
monochromatic
#0B1636 #162A68 #203F9B #2A54CE #597ADD
Accessibility & contrast
On white
9.35
#203F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#203F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #203F9B
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##203F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##203F9B | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #203f9b; /* rgb */ color: rgb(32, 63, 155); /* oklch */ color: oklch(40.5% 0.155 265.6);
Tailwind
colors: {
custom: {
50: '#7073b9',
500: '#203f9b',
950: '#000000',
},
}SCSS
$custom: #203f9b; $custom-light: #7073b9; $custom-dark: #000000;
JSON
{
"hex": "#203f9b",
"rgb": {
"r": 32,
"g": 63,
"b": 155
},
"hsl": {
"h": 224.878,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.4051,
"c": 0.15465,
"h": 265.6
},
"luminance": 0.06229
}Semantic roles & 50–950 ramp
primary
#203F9B
secondary
#C1A656
accent
#BE3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81