#201F7A#201F7A
#201F7A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.148 H 274.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #201F7A |
|---|---|
| RGB | rgb(32, 31, 122) |
| HSL | hsl(241, 59%, 30%) |
| HSV | hsv(241, 75%, 48%) |
| CMYK | cmyk(73.8%, 74.6%, 0%, 52.2%) |
| CIE-LAB | lab(18.76, 32.33, -51.20) |
| CIE-LCH | lch(18.76, 60.56, 302.27°) |
| OKLab | oklab(31.34% 0.0108 -0.1481) |
| OKLCH | oklch(31.34% 0.148 274.2) |
| XYZ | xyz(4.5973, 2.6917, 18.6859) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.04
Royal
#0C1793
ΔE00 4.40
Dark Royal Blue
#02066F
ΔE00 5.64
Deep Blue
#040273
ΔE00 6.11
Darkblue (survey)
#030764
ΔE00 6.16
Navy
#000080
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201F7A #797A1F
analogous
#1F4C7A #201F7A #4D1F7A
triadic
#201F7A #7A201F #1F7A20
tetradic
#201F7A #7A1F4C #797A1F #1F7A4D
square
#201F7A #7A1F4C #797A1F #1F7A4D
split-complementary
#201F7A #7A4D1F #4C7A1F
monochromatic
#060618 #131349 #201F7A #2D2BAB #4544CF
Accessibility & contrast
On white
13.65
#201F7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#201F7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201F7A
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201F7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201F7A | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #201f7a; /* rgb */ color: rgb(32, 31, 122); /* oklch */ color: oklch(31.3% 0.148 274.2);
Tailwind
colors: {
custom: {
50: '#6a5ba1',
500: '#201f7a',
950: '#000000',
},
}SCSS
$custom: #201f7a; $custom-light: #6a5ba1; $custom-dark: #000000;
JSON
{
"hex": "#201f7a",
"rgb": {
"r": 32,
"g": 31,
"b": 122
},
"hsl": {
"h": 240.659,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.31337,
"c": 0.14845,
"h": 274.2
},
"luminance": 0.02692
}Semantic roles & 50–950 ramp
primary
#201F7A
secondary
#ACAD47
accent
#E345E1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F