#212BA9#212BA9
#212BA9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.196 H 269.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #212BA9 |
|---|---|
| RGB | rgb(33, 43, 169) |
| HSL | hsl(236, 67%, 40%) |
| HSV | hsv(236, 80%, 66%) |
| CMYK | cmyk(80.5%, 74.6%, 0%, 33.7%) |
| CIE-LAB | lab(26.49, 41.76, -67.58) |
| CIE-LCH | lch(26.49, 79.44, 301.71°) |
| OKLab | oklab(38.37% -0.0013 -0.1958) |
| OKLCH | oklch(38.37% 0.196 269.6) |
| XYZ | xyz(8.6501, 4.9147, 38.0212) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 4.73
Royal
#0C1793
ΔE00 5.47
True Blue
#010FCC
ΔE00 5.88
Cobalt Blue
#030AA7
ΔE00 6.00
Ultramarine
#2000B1
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212BA9 #A99F21
analogous
#216FA9 #212BA9 #5B21A9
triadic
#212BA9 #A9212B #2BA921
tetradic
#212BA9 #A9216F #A99F21 #21A95B
square
#212BA9 #A9216F #A99F21 #21A95B
split-complementary
#212BA9 #A95B21 #6FA921
monochromatic
#0D1143 #171E76 #212BA9 #313DD7 #646DE1
Accessibility & contrast
On white
10.59
#212BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#212BA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212BA9
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212BA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212BA9 | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #212ba9; /* rgb */ color: rgb(33, 43, 169); /* oklch */ color: oklch(38.4% 0.196 269.6);
Tailwind
colors: {
custom: {
50: '#7666c4',
500: '#212ba9',
950: '#000000',
},
}SCSS
$custom: #212ba9; $custom-light: #7666c4; $custom-dark: #000000;
JSON
{
"hex": "#212ba9",
"rgb": {
"r": 33,
"g": 43,
"b": 169
},
"hsl": {
"h": 235.588,
"s": 67.327,
"l": 39.608
},
"oklch": {
"l": 0.38374,
"c": 0.19577,
"h": 269.6
},
"luminance": 0.04916
}Semantic roles & 50–950 ramp
primary
#212BA9
secondary
#C6BE60
accent
#DE3EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82