#201F7B#201F7B
#201F7B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.150 H 274.1°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #201F7B |
|---|---|
| RGB | rgb(32, 31, 123) |
| HSL | hsl(241, 60%, 30%) |
| HSV | hsv(241, 75%, 48%) |
| CMYK | cmyk(74%, 74.8%, 0%, 51.8%) |
| CIE-LAB | lab(18.87, 32.69, -51.67) |
| CIE-LCH | lch(18.87, 61.14, 302.32°) |
| OKLab | oklab(31.45% 0.0106 -0.1494) |
| OKLCH | oklch(31.45% 0.15 274.1) |
| XYZ | xyz(4.6596, 2.7167, 19.0139) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.15
Royal
#0C1793
ΔE00 4.25
Dark Royal Blue
#02066F
ΔE00 5.66
Deep Blue
#040273
ΔE00 6.11
Navy
#000080
ΔE00 6.19
Darkblue (survey)
#030764
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201F7B #7A7B1F
analogous
#1F4C7B #201F7B #4E1F7B
triadic
#201F7B #7B201F #1F7B20
tetradic
#201F7B #7B1F4C #7A7B1F #1F7B4E
square
#201F7B #7B1F4C #7A7B1F #1F7B4E
split-complementary
#201F7B #7B4E1F #4C7B1F
monochromatic
#070619 #13134A #201F7B #2D2BAC #4644D0
Accessibility & contrast
On white
13.61
#201F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#201F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201F7B
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201F7B | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #201f7b; /* rgb */ color: rgb(32, 31, 123); /* oklch */ color: oklch(31.4% 0.150 274.1);
Tailwind
colors: {
custom: {
50: '#6b5ca2',
500: '#201f7b',
950: '#000000',
},
}SCSS
$custom: #201f7b; $custom-light: #6b5ca2; $custom-dark: #000000;
JSON
{
"hex": "#201f7b",
"rgb": {
"r": 32,
"g": 31,
"b": 123
},
"hsl": {
"h": 240.652,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.31445,
"c": 0.14978,
"h": 274.1
},
"luminance": 0.02717
}Semantic roles & 50–950 ramp
primary
#201F7B
secondary
#ADAE48
accent
#E345E1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F