#203F9D#203F9D
#203F9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.157 H 265.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #203F9D |
|---|---|
| RGB | rgb(32, 63, 157) |
| HSL | hsl(225, 66%, 37%) |
| HSV | hsv(225, 80%, 62%) |
| CMYK | cmyk(79.6%, 59.9%, 0%, 38.4%) |
| CIE-LAB | lab(30.15, 24.31, -54.32) |
| CIE-LCH | lch(30.15, 59.51, 294.11°) |
| OKLab | oklab(40.69% -0.0118 -0.157) |
| OKLCH | oklch(40.69% 0.157 265.7) |
| XYZ | xyz(8.4568, 6.2954, 32.6612) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Cobalt
#0047AB
ΔE00 3.65
Cobalt (survey)
#1E488F
ΔE00 4.50
Blueberry
#464196
ΔE00 5.58
Darkish Blue
#014182
ΔE00 5.85
Blue Blue
#2242C7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#203F9D #9D7E20
analogous
#207E9D #203F9D #40209D
triadic
#203F9D #9D203F #3F9D20
tetradic
#203F9D #9D207E #9D7E20 #209D40
square
#203F9D #9D207E #9D7E20 #209D40
split-complementary
#203F9D #9D4020 #7E9D20
monochromatic
#0B1637 #162B6A #203F9D #2A53D0 #5A7BDD
Accessibility & contrast
On white
9.30
#203F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#203F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #203F9D
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##203F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##203F9D | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #203f9d; /* rgb */ color: rgb(32, 63, 157); /* oklch */ color: oklch(40.7% 0.157 265.7);
Tailwind
colors: {
custom: {
50: '#7173bb',
500: '#203f9d',
950: '#000000',
},
}SCSS
$custom: #203f9d; $custom-light: #7173bb; $custom-dark: #000000;
JSON
{
"hex": "#203f9d",
"rgb": {
"r": 32,
"g": 63,
"b": 157
},
"hsl": {
"h": 225.12,
"s": 66.138,
"l": 37.059
},
"oklch": {
"l": 0.40686,
"c": 0.15741,
"h": 265.7
},
"luminance": 0.06296
}Semantic roles & 50–950 ramp
primary
#203F9D
secondary
#C1A757
accent
#BF3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81