#212F88#212F88
#212F88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.148 H 270.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #212F88 |
|---|---|
| RGB | rgb(33, 47, 136) |
| HSL | hsl(232, 61%, 33%) |
| HSV | hsv(232, 76%, 53%) |
| CMYK | cmyk(75.7%, 65.4%, 0%, 46.7%) |
| CIE-LAB | lab(24.11, 27.16, -51.27) |
| CIE-LCH | lch(24.11, 58.02, 297.91°) |
| OKLab | oklab(35.65% 0 -0.1482) |
| OKLCH | oklch(35.65% 0.148 270) |
| XYZ | xyz(6.0861, 4.1333, 23.7648) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.40
Darkslateblue
#483D8B
ΔE00 6.61
Midnight Blue
#191970
ΔE00 6.61
Royal
#0C1793
ΔE00 6.63
Blueberry
#464196
ΔE00 6.73
Marine
#042E60
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F88 #887A21
analogous
#216288 #212F88 #462188
triadic
#212F88 #88212F #2F8821
tetradic
#212F88 #882162 #887A21 #218846
square
#212F88 #882162 #887A21 #218846
split-complementary
#212F88 #884621 #628821
monochromatic
#090D25 #151E57 #212F88 #2D40B9 #4F61D4
Accessibility & contrast
On white
11.50
#212F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#212F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F88
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F88 | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #212f88; /* rgb */ color: rgb(33, 47, 136); /* oklch */ color: oklch(35.6% 0.148 270.0);
Tailwind
colors: {
custom: {
50: '#6d67ac',
500: '#212f88',
950: '#000000',
},
}SCSS
$custom: #212f88; $custom-light: #6d67ac; $custom-dark: #000000;
JSON
{
"hex": "#212f88",
"rgb": {
"r": 33,
"g": 47,
"b": 136
},
"hsl": {
"h": 231.845,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.3565,
"c": 0.14818,
"h": 270
},
"luminance": 0.04134
}Semantic roles & 50–950 ramp
primary
#212F88
secondary
#B8A94D
accent
#CE44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F