#212F79#212F79
#212F79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.127 H 270.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #212F79 |
|---|---|
| RGB | rgb(33, 47, 121) |
| HSL | hsl(230, 57%, 30%) |
| HSV | hsv(230, 73%, 47%) |
| CMYK | cmyk(72.7%, 61.2%, 0%, 52.5%) |
| CIE-LAB | lab(22.78, 21.36, -43.99) |
| CIE-LCH | lch(22.78, 48.90, 295.90°) |
| OKLab | oklab(34.26% 0.0003 -0.1268) |
| OKLCH | oklch(34.26% 0.127 270.1) |
| XYZ | xyz(5.0937, 3.7363, 18.5382) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.91
Midnight Blue
#191970
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 7.07
Marine Blue
#01386A
ΔE00 7.24
Sapphire (survey)
#2138AB
ΔE00 7.61
Blueberry
#464196
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212F79 #796B21
analogous
#215B79 #212F79 #3F2179
triadic
#212F79 #79212F #2F7921
tetradic
#212F79 #79215B #796B21 #21793F
square
#212F79 #79215B #796B21 #21793F
split-complementary
#212F79 #793F21 #5B7921
monochromatic
#070A19 #141C49 #212F79 #2E42A9 #475DCD
Accessibility & contrast
On white
12.02
#212F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#212F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212F79
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212F79 | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #212f79; /* rgb */ color: rgb(33, 47, 121); /* oklch */ color: oklch(34.3% 0.127 270.1);
Tailwind
colors: {
custom: {
50: '#6967a0',
500: '#212f79',
950: '#000000',
},
}SCSS
$custom: #212f79; $custom-light: #6967a0; $custom-dark: #000000;
JSON
{
"hex": "#212f79",
"rgb": {
"r": 33,
"g": 47,
"b": 121
},
"hsl": {
"h": 230.455,
"s": 57.143,
"l": 30.196
},
"oklch": {
"l": 0.34256,
"c": 0.12682,
"h": 270.1
},
"luminance": 0.03737
}Semantic roles & 50–950 ramp
primary
#212F79
secondary
#AC9C4A
accent
#C847E0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E