#212E9B#212E9B
#212E9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.175 H 269.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #212E9B |
|---|---|
| RGB | rgb(33, 46, 155) |
| HSL | hsl(234, 65%, 37%) |
| HSV | hsv(234, 79%, 61%) |
| CMYK | cmyk(78.7%, 70.3%, 0%, 39.2%) |
| CIE-LAB | lab(25.69, 34.93, -60.40) |
| CIE-LCH | lch(25.69, 69.77, 300.04°) |
| OKLab | oklab(37.36% -0.0009 -0.1749) |
| OKLCH | oklch(37.36% 0.175 269.7) |
| XYZ | xyz(7.5186, 4.6430, 31.5039) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Royal
#0C1793
ΔE00 5.60
Indigo Blue
#3A18B1
ΔE00 6.52
Blueberry
#464196
ΔE00 6.74
Cobalt Blue
#030AA7
ΔE00 7.16
Darkslateblue
#483D8B
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212E9B #9B8E21
analogous
#216B9B #212E9B #51219B
triadic
#212E9B #9B212E #2E9B21
tetradic
#212E9B #9B216B #9B8E21 #219B51
square
#212E9B #9B216B #9B8E21 #219B51
split-complementary
#212E9B #9B5121 #6B9B21
monochromatic
#0C1036 #161F69 #212E9B #2C3DCD #5A68DC
Accessibility & contrast
On white
10.89
#212E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#212E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212E9B
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212E9B | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #212e9b; /* rgb */ color: rgb(33, 46, 155); /* oklch */ color: oklch(37.4% 0.175 269.7);
Tailwind
colors: {
custom: {
50: '#7267ba',
500: '#212e9b',
950: '#000000',
},
}SCSS
$custom: #212e9b; $custom-light: #7267ba; $custom-dark: #000000;
JSON
{
"hex": "#212e9b",
"rgb": {
"r": 33,
"g": 46,
"b": 155
},
"hsl": {
"h": 233.607,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.37364,
"c": 0.17487,
"h": 269.7
},
"luminance": 0.04644
}Semantic roles & 50–950 ramp
primary
#212E9B
secondary
#C0B558
accent
#D640E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81