#212074#212074
#212074 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.139 H 275.1°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #212074 |
|---|---|
| RGB | rgb(33, 32, 116) |
| HSL | hsl(241, 57%, 29%) |
| HSV | hsv(241, 72%, 45%) |
| CMYK | cmyk(71.6%, 72.4%, 0%, 54.5%) |
| CIE-LAB | lab(18.44, 29.65, -47.89) |
| CIE-LCH | lch(18.44, 56.32, 301.76°) |
| OKLab | oklab(30.93% 0.0124 -0.1384) |
| OKLCH | oklch(30.93% 0.139 275.1) |
| XYZ | xyz(4.2951, 2.6169, 16.7984) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.90
Royal
#0C1793
ΔE00 5.50
Dark Royal Blue
#02066F
ΔE00 5.97
Darkblue (survey)
#030764
ΔE00 6.17
Deep Blue
#040273
ΔE00 6.57
Navy
#000080
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212074 #737420
analogous
#204974 #212074 #4B2074
triadic
#212074 #742120 #207421
tetradic
#212074 #742049 #737420 #20744B
square
#212074 #742049 #737420 #20744B
split-complementary
#212074 #744B20 #497420
monochromatic
#070718 #131344 #212074 #2F2DA4 #4543CB
Accessibility & contrast
On white
13.78
#212074 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#212074 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212074
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212074 | 1.00 | 13.78 | 1.52 | 13.78 |
| #FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #212074; /* rgb */ color: rgb(33, 32, 116); /* oklch */ color: oklch(30.9% 0.139 275.1);
Tailwind
colors: {
custom: {
50: '#695c9d',
500: '#212074',
950: '#000000',
},
}SCSS
$custom: #212074; $custom-light: #695c9d; $custom-dark: #000000;
JSON
{
"hex": "#212074",
"rgb": {
"r": 33,
"g": 32,
"b": 116
},
"hsl": {
"h": 240.714,
"s": 56.757,
"l": 29.02
},
"oklch": {
"l": 0.30933,
"c": 0.13892,
"h": 275.1
},
"luminance": 0.02617
}Semantic roles & 50–950 ramp
primary
#212074
secondary
#A6A848
accent
#E048DE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E