#203F9F#203F9F
#203F9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.160 H 265.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #203F9F |
|---|---|
| RGB | rgb(32, 63, 159) |
| HSL | hsl(225, 66%, 37%) |
| HSV | hsv(225, 80%, 62%) |
| CMYK | cmyk(79.9%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(30.31, 25.09, -55.26) |
| CIE-LCH | lch(30.31, 60.69, 294.42°) |
| OKLab | oklab(40.86% -0.0118 -0.1597) |
| OKLCH | oklch(40.86% 0.16 265.8) |
| XYZ | xyz(8.6290, 6.3643, 33.5678) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.60
Cobalt (survey)
#1E488F
ΔE00 4.70
Blueberry
#464196
ΔE00 5.57
Blue Blue
#2242C7
ΔE00 5.63
Darkish Blue
#014182
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#203F9F #9F8020
analogous
#207F9F #203F9F #40209F
triadic
#203F9F #9F203F #3F9F20
tetradic
#203F9F #9F207F #9F8020 #209F40
square
#203F9F #9F207F #9F8020 #209F40
split-complementary
#203F9F #9F4020 #7F9F20
monochromatic
#0B1739 #162B6C #203F9F #2A53D2 #5B7BDE
Accessibility & contrast
On white
9.24
#203F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#203F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #203F9F
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##203F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##203F9F | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #203f9f; /* rgb */ color: rgb(32, 63, 159); /* oklch */ color: oklch(40.9% 0.160 265.8);
Tailwind
colors: {
custom: {
50: '#7173bc',
500: '#203f9f',
950: '#000000',
},
}SCSS
$custom: #203f9f; $custom-light: #7173bc; $custom-dark: #000000;
JSON
{
"hex": "#203f9f",
"rgb": {
"r": 32,
"g": 63,
"b": 159
},
"hsl": {
"h": 225.354,
"s": 66.492,
"l": 37.451
},
"oklch": {
"l": 0.40864,
"c": 0.16014,
"h": 265.8
},
"luminance": 0.06365
}Semantic roles & 50–950 ramp
primary
#203F9F
secondary
#C2A859
accent
#C03EE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81