#201F9E#201F9E
#201F9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.194 H 271.0°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #201F9E |
|---|---|
| RGB | rgb(32, 31, 158) |
| HSL | hsl(240, 67%, 37%) |
| HSV | hsv(240, 80%, 62%) |
| CMYK | cmyk(79.7%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(22.84, 44.67, -66.94) |
| CIE-LCH | lch(22.84, 80.47, 303.71°) |
| OKLab | oklab(35.42% 0.0035 -0.1938) |
| OKLCH | oklch(35.42% 0.194 271) |
| XYZ | xyz(7.2551, 3.7549, 32.6835) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.55
Cobalt Blue
#030AA7
ΔE00 3.46
Indigo Blue
#3A18B1
ΔE00 3.95
Royal Blue (survey)
#0504AA
ΔE00 4.01
Ultramarine
#2000B1
ΔE00 4.41
True Blue
#010FCC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201F9E #9D9E1F
analogous
#1F5E9E #201F9E #5F1F9E
triadic
#201F9E #9E201F #1F9E20
tetradic
#201F9E #9E1F5E #9D9E1F #1F9E5F
square
#201F9E #9E1F5E #9D9E1F #1F9E5F
split-complementary
#201F9E #9E5F1F #5E9E1F
monochromatic
#0B0B38 #16156B #201F9E #2A29D1 #5A59DE
Accessibility & contrast
On white
11.99
#201F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#201F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201F9E
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201F9E | 1.00 | 11.99 | 1.75 | 11.99 |
| #FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00309C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #201f9e; /* rgb */ color: rgb(32, 31, 158); /* oklch */ color: oklch(35.4% 0.194 271.0);
Tailwind
colors: {
custom: {
50: '#745ebc',
500: '#201f9e',
950: '#000000',
},
}SCSS
$custom: #201f9e; $custom-light: #745ebc; $custom-dark: #000000;
JSON
{
"hex": "#201f9e",
"rgb": {
"r": 32,
"g": 31,
"b": 158
},
"hsl": {
"h": 240.472,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.3542,
"c": 0.19383,
"h": 271
},
"luminance": 0.03756
}Semantic roles & 50–950 ramp
primary
#201F9E
secondary
#C1C256
accent
#EA3EE9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981