#212F89#212F89
#212F89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.150 H 270.0°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #212F89 |
|---|---|
| RGB | rgb(33, 47, 137) |
| HSL | hsl(232, 61%, 33%) |
| HSV | hsv(232, 76%, 54%) |
| CMYK | cmyk(75.9%, 65.7%, 0%, 46.3%) |
| CIE-LAB | lab(24.20, 27.54, -51.74) |
| CIE-LCH | lch(24.20, 58.61, 298.02°) |
| OKLab | oklab(35.75% 0 -0.1496) |
| OKLCH | oklch(35.75% 0.15 270) |
| XYZ | xyz(6.1575, 4.1619, 24.1409) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.26
Royal
#0C1793
ΔE00 6.55
Darkslateblue
#483D8B
ΔE00 6.61
Midnight Blue
#191970
ΔE00 6.66
Blueberry
#464196
ΔE00 6.69
Marine
#042E60
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F89 #897B21
analogous
#216389 #212F89 #472189
triadic
#212F89 #89212F #2F8921
tetradic
#212F89 #892163 #897B21 #218947
square
#212F89 #892163 #897B21 #218947
split-complementary
#212F89 #894721 #638921
monochromatic
#090D26 #151E58 #212F89 #2D40BA #5062D5
Accessibility & contrast
On white
11.46
#212F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#212F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F89
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F89 | 1.00 | 11.46 | 1.83 | 11.46 |
| #FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #212f89; /* rgb */ color: rgb(33, 47, 137); /* oklch */ color: oklch(35.7% 0.150 270.0);
Tailwind
colors: {
custom: {
50: '#6d67ac',
500: '#212f89',
950: '#000000',
},
}SCSS
$custom: #212f89; $custom-light: #6d67ac; $custom-dark: #000000;
JSON
{
"hex": "#212f89",
"rgb": {
"r": 33,
"g": 47,
"b": 137
},
"hsl": {
"h": 231.923,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.35747,
"c": 0.14956,
"h": 270
},
"luminance": 0.04163
}Semantic roles & 50–950 ramp
primary
#212F89
secondary
#B8AA4E
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F