#201F7F#201F7F
#201F7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.155 H 273.6°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #201F7F |
|---|---|
| RGB | rgb(32, 31, 127) |
| HSL | hsl(241, 61%, 31%) |
| HSV | hsv(241, 76%, 50%) |
| CMYK | cmyk(74.8%, 75.6%, 0%, 50.2%) |
| CIE-LAB | lab(19.30, 34.11, -53.50) |
| CIE-LCH | lch(19.30, 63.45, 302.52°) |
| OKLab | oklab(31.88% 0.0099 -0.1547) |
| OKLCH | oklch(31.88% 0.155 273.6) |
| XYZ | xyz(4.9151, 2.8189, 20.3596) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.64
Royal
#0C1793
ΔE00 3.67
Dark Royal Blue
#02066F
ΔE00 5.76
Darkblue
#00008B
ΔE00 5.97
Navy
#000080
ΔE00 6.01
Deep Blue
#040273
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201F7F #7E7F1F
analogous
#1F4E7F #201F7F #501F7F
triadic
#201F7F #7F201F #1F7F20
tetradic
#201F7F #7F1F4E #7E7F1F #1F7F50
square
#201F7F #7F1F4E #7E7F1F #1F7F50
split-complementary
#201F7F #7F501F #4E7F1F
monochromatic
#07071D #14134E #201F7F #2C2BB0 #4846D2
Accessibility & contrast
On white
13.43
#201F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#201F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201F7F
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201F7F | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #201f7f; /* rgb */ color: rgb(32, 31, 127); /* oklch */ color: oklch(31.9% 0.155 273.6);
Tailwind
colors: {
custom: {
50: '#6c5ca5',
500: '#201f7f',
950: '#000000',
},
}SCSS
$custom: #201f7f; $custom-light: #6c5ca5; $custom-dark: #000000;
JSON
{
"hex": "#201f7f",
"rgb": {
"r": 32,
"g": 31,
"b": 127
},
"hsl": {
"h": 240.625,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.31883,
"c": 0.15506,
"h": 273.6
},
"luminance": 0.02819
}Semantic roles & 50–950 ramp
primary
#201F7F
secondary
#B1B248
accent
#E444E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F