#212E9F#212E9F
#212E9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.180 H 269.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #212E9F |
|---|---|
| RGB | rgb(33, 46, 159) |
| HSL | hsl(234, 66%, 38%) |
| HSV | hsv(234, 79%, 62%) |
| CMYK | cmyk(79.2%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(26.10, 36.38, -62.17) |
| CIE-LCH | lch(26.10, 72.03, 300.34°) |
| OKLab | oklab(37.78% -0.0013 -0.18) |
| OKLCH | oklch(37.78% 0.18 269.6) |
| XYZ | xyz(7.8601, 4.7796, 33.3025) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.15
Royal
#0C1793
ΔE00 5.66
Indigo Blue
#3A18B1
ΔE00 6.14
Blueberry
#464196
ΔE00 6.83
Cobalt Blue
#030AA7
ΔE00 6.98
Darkslateblue
#483D8B
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E9F #9F9221
analogous
#216D9F #212E9F #53219F
triadic
#212E9F #9F212E #2E9F21
tetradic
#212E9F #9F216D #9F9221 #219F53
square
#212E9F #9F216D #9F9221 #219F53
split-complementary
#212E9F #9F5321 #6D9F21
monochromatic
#0C113A #161F6C #212E9F #2C3DD2 #5D6ADD
Accessibility & contrast
On white
10.74
#212E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#212E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E9F
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E9F | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #212e9f; /* rgb */ color: rgb(33, 46, 159); /* oklch */ color: oklch(37.8% 0.180 269.6);
Tailwind
colors: {
custom: {
50: '#7367bd',
500: '#212e9f',
950: '#000000',
},
}SCSS
$custom: #212e9f; $custom-light: #7367bd; $custom-dark: #000000;
JSON
{
"hex": "#212e9f",
"rgb": {
"r": 33,
"g": 46,
"b": 159
},
"hsl": {
"h": 233.81,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.37779,
"c": 0.18004,
"h": 269.6
},
"luminance": 0.04781
}Semantic roles & 50–950 ramp
primary
#212E9F
secondary
#C2B75A
accent
#D73FE9
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81