#201F89#201F89
#201F89 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.168 H 272.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #201F89 |
|---|---|
| RGB | rgb(32, 31, 137) |
| HSL | hsl(241, 63%, 33%) |
| HSV | hsv(241, 77%, 54%) |
| CMYK | cmyk(76.6%, 77.4%, 0%, 46.3%) |
| CIE-LAB | lab(20.41, 37.61, -57.97) |
| CIE-LCH | lch(20.41, 69.11, 302.97°) |
| OKLab | oklab(33% 0.0079 -0.1678) |
| OKLCH | oklch(33% 0.168 272.7) |
| XYZ | xyz(5.5995, 3.0926, 23.9639) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.46
Midnight Blue
#191970
ΔE00 4.02
Cobalt Blue
#030AA7
ΔE00 5.30
Darkblue
#00008B
ΔE00 5.47
Royal Blue (survey)
#0504AA
ΔE00 5.88
Navy
#000080
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201F89 #88891F
analogous
#1F5389 #201F89 #551F89
triadic
#201F89 #89201F #1F8920
tetradic
#201F89 #891F53 #88891F #1F8955
square
#201F89 #891F53 #88891F #1F8955
split-complementary
#201F89 #89551F #53891F
monochromatic
#090825 #141457 #201F89 #2C2ABB #4D4CD6
Accessibility & contrast
On white
12.97
#201F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#201F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201F89
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201F89 | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #201f89; /* rgb */ color: rgb(32, 31, 137); /* oklch */ color: oklch(33.0% 0.168 272.7);
Tailwind
colors: {
custom: {
50: '#6e5cad',
500: '#201f89',
950: '#000000',
},
}SCSS
$custom: #201f89; $custom-light: #6e5cad; $custom-dark: #000000;
JSON
{
"hex": "#201f89",
"rgb": {
"r": 32,
"g": 31,
"b": 137
},
"hsl": {
"h": 240.566,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.32998,
"c": 0.16797,
"h": 272.7
},
"luminance": 0.03093
}Semantic roles & 50–950 ramp
primary
#201F89
secondary
#B8B94B
accent
#E642E5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F