#212F75#212F75
#212F75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.121 H 270.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #212F75 |
|---|---|
| RGB | rgb(33, 47, 117) |
| HSL | hsl(230, 56%, 29%) |
| HSV | hsv(230, 72%, 46%) |
| CMYK | cmyk(71.8%, 59.8%, 0%, 54.1%) |
| CIE-LAB | lab(22.44, 19.79, -41.98) |
| CIE-LCH | lch(22.44, 46.41, 295.24°) |
| OKLab | oklab(33.9% 0.0002 -0.1209) |
| OKLCH | oklch(33.9% 0.121 270.1) |
| XYZ | xyz(4.8535, 3.6402, 17.2730) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.43
Midnight Blue
#191970
ΔE00 6.64
Marine Blue
#01386A
ΔE00 6.97
Darkslateblue
#483D8B
ΔE00 7.34
Blueberry
#464196
ΔE00 8.04
Darkish Blue
#014182
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F75 #756721
analogous
#215975 #212F75 #3D2175
triadic
#212F75 #75212F #2F7521
tetradic
#212F75 #752159 #756721 #21753D
square
#212F75 #752159 #756721 #21753D
split-complementary
#212F75 #753D21 #597521
monochromatic
#070A18 #141C45 #212F75 #2E42A5 #465CCB
Accessibility & contrast
On white
12.15
#212F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#212F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F75
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F75 | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #212f75; /* rgb */ color: rgb(33, 47, 117); /* oklch */ color: oklch(33.9% 0.121 270.1);
Tailwind
colors: {
custom: {
50: '#68679d',
500: '#212f75',
950: '#000000',
},
}SCSS
$custom: #212f75; $custom-light: #68679d; $custom-dark: #000000;
JSON
{
"hex": "#212f75",
"rgb": {
"r": 33,
"g": 47,
"b": 117
},
"hsl": {
"h": 230,
"s": 56,
"l": 29.412
},
"oklch": {
"l": 0.33901,
"c": 0.12093,
"h": 270.1
},
"luminance": 0.03641
}Semantic roles & 50–950 ramp
primary
#212F75
secondary
#A8984A
accent
#C649DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E