#201F7C#201F7C
#201F7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.151 H 273.9°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #201F7C |
|---|---|
| RGB | rgb(32, 31, 124) |
| HSL | hsl(241, 60%, 30%) |
| HSV | hsv(241, 75%, 49%) |
| CMYK | cmyk(74.2%, 75%, 0%, 51.4%) |
| CIE-LAB | lab(18.98, 33.05, -52.13) |
| CIE-LCH | lch(18.98, 61.72, 302.37°) |
| OKLab | oklab(31.55% 0.0104 -0.1507) |
| OKLCH | oklch(31.55% 0.151 273.9) |
| XYZ | xyz(4.7225, 2.7418, 19.3452) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.26
Royal
#0C1793
ΔE00 4.10
Dark Royal Blue
#02066F
ΔE00 5.67
Deep Blue
#040273
ΔE00 6.10
Navy
#000080
ΔE00 6.14
Darkblue
#00008B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201F7C #7B7C1F
analogous
#1F4C7C #201F7C #4E1F7C
triadic
#201F7C #7C201F #1F7C20
tetradic
#201F7C #7C1F4C #7B7C1F #1F7C4E
square
#201F7C #7C1F4C #7B7C1F #1F7C4E
split-complementary
#201F7C #7C4E1F #4C7C1F
monochromatic
#07071A #13134B #201F7C #2D2BAD #4645D0
Accessibility & contrast
On white
13.56
#201F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#201F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201F7C
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201F7C | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #201f7c; /* rgb */ color: rgb(32, 31, 124); /* oklch */ color: oklch(31.6% 0.151 273.9);
Tailwind
colors: {
custom: {
50: '#6b5ca3',
500: '#201f7c',
950: '#000000',
},
}SCSS
$custom: #201f7c; $custom-light: #6b5ca3; $custom-dark: #000000;
JSON
{
"hex": "#201f7c",
"rgb": {
"r": 32,
"g": 31,
"b": 124
},
"hsl": {
"h": 240.645,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.31554,
"c": 0.15111,
"h": 273.9
},
"luminance": 0.02742
}Semantic roles & 50–950 ramp
primary
#201F7C
secondary
#AEAF48
accent
#E345E1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F