#212D9B#212D9B
#212D9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.176 H 269.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #212D9B |
|---|---|
| RGB | rgb(33, 45, 155) |
| HSL | hsl(234, 65%, 37%) |
| HSV | hsv(234, 79%, 61%) |
| CMYK | cmyk(78.7%, 71%, 0%, 39.2%) |
| CIE-LAB | lab(25.46, 35.56, -60.78) |
| CIE-LCH | lch(25.46, 70.42, 300.33°) |
| OKLab | oklab(37.2% -0.0004 -0.176) |
| OKLCH | oklch(37.2% 0.176 269.9) |
| XYZ | xyz(7.4800, 4.5658, 31.4911) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.64
Royal
#0C1793
ΔE00 5.33
Indigo Blue
#3A18B1
ΔE00 6.29
Cobalt Blue
#030AA7
ΔE00 6.89
Blueberry
#464196
ΔE00 6.92
Darkslateblue
#483D8B
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212D9B #9B8F21
analogous
#216A9B #212D9B #52219B
triadic
#212D9B #9B212D #2D9B21
tetradic
#212D9B #9B216A #9B8F21 #219B52
square
#212D9B #9B216A #9B8F21 #219B52
split-complementary
#212D9B #9B5221 #6A9B21
monochromatic
#0C1036 #161E69 #212D9B #2C3CCD #5A67DC
Accessibility & contrast
On white
10.98
#212D9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#212D9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212D9B
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212D9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212D9B | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #212d9b; /* rgb */ color: rgb(33, 45, 155); /* oklch */ color: oklch(37.2% 0.176 269.9);
Tailwind
colors: {
custom: {
50: '#7266ba',
500: '#212d9b',
950: '#000000',
},
}SCSS
$custom: #212d9b; $custom-light: #7266ba; $custom-dark: #000000;
JSON
{
"hex": "#212d9b",
"rgb": {
"r": 33,
"g": 45,
"b": 155
},
"hsl": {
"h": 234.098,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.37196,
"c": 0.17599,
"h": 269.9
},
"luminance": 0.04567
}Semantic roles & 50–950 ramp
primary
#212D9B
secondary
#C0B658
accent
#D740E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81