#203A9F#203A9F
#203A9F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.166 H 267.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #203A9F |
|---|---|
| RGB | rgb(32, 58, 159) |
| HSL | hsl(228, 66%, 37%) |
| HSV | hsv(228, 80%, 62%) |
| CMYK | cmyk(79.9%, 63.5%, 0%, 37.6%) |
| CIE-LAB | lab(28.99, 28.46, -57.42) |
| CIE-LCH | lch(28.99, 64.08, 296.37°) |
| OKLab | oklab(39.88% -0.0086 -0.1661) |
| OKLCH | oklch(39.88% 0.166 267) |
| XYZ | xyz(8.3645, 5.8354, 33.4797) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.03
Cobalt
#0047AB
ΔE00 5.08
Blueberry
#464196
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.80
Cobalt (survey)
#1E488F
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#203A9F #9F8520
analogous
#20799F #203A9F #46209F
triadic
#203A9F #9F203A #3A9F20
tetradic
#203A9F #9F2079 #9F8520 #209F46
square
#203A9F #9F2079 #9F8520 #209F46
split-complementary
#203A9F #9F4620 #799F20
monochromatic
#0B1539 #16276C #203A9F #2A4DD2 #5B76DE
Accessibility & contrast
On white
9.69
#203A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#203A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #203A9F
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##203A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##203A9F | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #203a9f; /* rgb */ color: rgb(32, 58, 159); /* oklch */ color: oklch(39.9% 0.166 267.0);
Tailwind
colors: {
custom: {
50: '#7170bc',
500: '#203a9f',
950: '#000000',
},
}SCSS
$custom: #203a9f; $custom-light: #7170bc; $custom-dark: #000000;
JSON
{
"hex": "#203a9f",
"rgb": {
"r": 32,
"g": 58,
"b": 159
},
"hsl": {
"h": 227.717,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.39883,
"c": 0.16633,
"h": 267
},
"luminance": 0.05836
}Semantic roles & 50–950 ramp
primary
#203A9F
secondary
#C2AD59
accent
#C63EE9
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81