#212088#212088
#212088 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.165 H 273.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #212088 |
|---|---|
| RGB | rgb(33, 32, 136) |
| HSL | hsl(241, 62%, 33%) |
| HSV | hsv(241, 76%, 53%) |
| CMYK | cmyk(75.7%, 76.5%, 0%, 46.7%) |
| CIE-LAB | lab(20.57, 36.77, -57.08) |
| CIE-LCH | lch(20.57, 67.90, 302.79°) |
| OKLab | oklab(33.09% 0.0089 -0.1652) |
| OKLCH | oklch(33.09% 0.165 273.1) |
| XYZ | xyz(5.5862, 3.1334, 23.5982) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.76
Midnight Blue
#191970
ΔE00 3.95
Cobalt Blue
#030AA7
ΔE00 5.59
Darkblue
#00008B
ΔE00 5.75
Indigo (survey)
#380282
ΔE00 6.10
Navy
#000080
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212088 #878820
analogous
#205388 #212088 #552088
triadic
#212088 #882120 #208821
tetradic
#212088 #882053 #878820 #208855
square
#212088 #882053 #878820 #208855
split-complementary
#212088 #885520 #538820
monochromatic
#090925 #151456 #212088 #2D2CBA #4F4DD5
Accessibility & contrast
On white
12.91
#212088 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#212088 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212088
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212088 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212088 | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #212088; /* rgb */ color: rgb(33, 32, 136); /* oklch */ color: oklch(33.1% 0.165 273.1);
Tailwind
colors: {
custom: {
50: '#6e5dac',
500: '#212088',
950: '#000000',
},
}SCSS
$custom: #212088; $custom-light: #6e5dac; $custom-dark: #000000;
JSON
{
"hex": "#212088",
"rgb": {
"r": 33,
"g": 32,
"b": 136
},
"hsl": {
"h": 240.577,
"s": 61.905,
"l": 32.941
},
"oklch": {
"l": 0.33094,
"c": 0.16541,
"h": 273.1
},
"luminance": 0.03134
}Semantic roles & 50–950 ramp
primary
#212088
secondary
#B7B84C
accent
#E543E3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F