#201B9E#201B9E
#201B9E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.197 H 271.3°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #201B9E |
|---|---|
| RGB | rgb(32, 27, 158) |
| HSL | hsl(242, 71%, 36%) |
| HSV | hsv(242, 83%, 62%) |
| CMYK | cmyk(79.7%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(22.16, 46.68, -68.08) |
| CIE-LCH | lch(22.16, 82.55, 304.43°) |
| OKLab | oklab(34.94% 0.0046 -0.197) |
| OKLCH | oklch(34.94% 0.197 271.3) |
| XYZ | xyz(7.1571, 3.5588, 32.6508) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.19
Cobalt Blue
#030AA7
ΔE00 2.75
Royal Blue (survey)
#0504AA
ΔE00 3.29
Ultramarine
#2000B1
ΔE00 3.76
Indigo Blue
#3A18B1
ΔE00 3.77
Darkblue
#00008B
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#201B9E #999E1B
analogous
#1B589E #201B9E #621B9E
triadic
#201B9E #9E201B #1B9E20
tetradic
#201B9E #9E1B58 #999E1B #1B9E62
square
#201B9E #9E1B58 #999E1B #1B9E62
split-complementary
#201B9E #9E621B #589E1B
monochromatic
#0B0935 #15126A #201B9E #2B24D2 #5752E1
Accessibility & contrast
On white
12.27
#201B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#201B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #201B9E
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##201B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##201B9E | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #201b9e; /* rgb */ color: rgb(32, 27, 158); /* oklch */ color: oklch(34.9% 0.197 271.3);
Tailwind
colors: {
custom: {
50: '#745bbc',
500: '#201b9e',
950: '#000000',
},
}SCSS
$custom: #201b9e; $custom-light: #745bbc; $custom-dark: #000000;
JSON
{
"hex": "#201b9e",
"rgb": {
"r": 32,
"g": 27,
"b": 158
},
"hsl": {
"h": 242.29,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.34941,
"c": 0.19709,
"h": 271.3
},
"luminance": 0.0356
}Semantic roles & 50–950 ramp
primary
#201B9E
secondary
#C0C451
accent
#EE3AE7
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981