#212E75#212E75
#212E75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.122 H 270.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #212E75 |
|---|---|
| RGB | rgb(33, 46, 117) |
| HSL | hsl(231, 56%, 29%) |
| HSV | hsv(231, 72%, 46%) |
| CMYK | cmyk(71.8%, 60.7%, 0%, 54.1%) |
| CIE-LAB | lab(22.16, 20.49, -42.44) |
| CIE-LCH | lch(22.16, 47.13, 295.78°) |
| OKLab | oklab(33.69% 0.0011 -0.1223) |
| OKLCH | oklch(33.69% 0.122 270.5) |
| XYZ | xyz(4.8140, 3.5612, 17.2599) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.63
Midnight Blue
#191970
ΔE00 6.29
Marine Blue
#01386A
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.38
Blueberry
#464196
ΔE00 8.13
Navy Blue
#1B2A4A
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E75 #756821
analogous
#215875 #212E75 #3E2175
triadic
#212E75 #75212E #2E7521
tetradic
#212E75 #752158 #756821 #21753E
square
#212E75 #752158 #756821 #21753E
split-complementary
#212E75 #753E21 #587521
monochromatic
#070918 #141B45 #212E75 #2E41A5 #465ACB
Accessibility & contrast
On white
12.26
#212E75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#212E75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E75
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E75 | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #212e75; /* rgb */ color: rgb(33, 46, 117); /* oklch */ color: oklch(33.7% 0.122 270.5);
Tailwind
colors: {
custom: {
50: '#68669d',
500: '#212e75',
950: '#000000',
},
}SCSS
$custom: #212e75; $custom-light: #68669d; $custom-dark: #000000;
JSON
{
"hex": "#212e75",
"rgb": {
"r": 33,
"g": 46,
"b": 117
},
"hsl": {
"h": 230.714,
"s": 56,
"l": 29.412
},
"oklch": {
"l": 0.33692,
"c": 0.1223,
"h": 270.5
},
"luminance": 0.03562
}Semantic roles & 50–950 ramp
primary
#212E75
secondary
#A89A4A
accent
#C849DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E