#212AA9#212AA9
#212AA9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.197 H 269.7°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #212AA9 |
|---|---|
| RGB | rgb(33, 42, 169) |
| HSL | hsl(236, 67%, 40%) |
| HSV | hsv(236, 80%, 66%) |
| CMYK | cmyk(80.5%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(26.28, 42.34, -67.92) |
| CIE-LCH | lch(26.28, 80.04, 301.94°) |
| OKLab | oklab(38.23% -0.001 -0.1968) |
| OKLCH | oklch(38.23% 0.197 269.7) |
| XYZ | xyz(8.6141, 4.8428, 38.0092) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.87
Indigo Blue
#3A18B1
ΔE00 4.52
Royal
#0C1793
ΔE00 5.28
True Blue
#010FCC
ΔE00 5.70
Cobalt Blue
#030AA7
ΔE00 5.76
Ultramarine
#2000B1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212AA9 #A9A021
analogous
#216EA9 #212AA9 #5C21A9
triadic
#212AA9 #A9212A #2AA921
tetradic
#212AA9 #A9216E #A9A021 #21A95C
square
#212AA9 #A9216E #A9A021 #21A95C
split-complementary
#212AA9 #A95C21 #6EA921
monochromatic
#0D1143 #171D76 #212AA9 #313CD7 #646CE1
Accessibility & contrast
On white
10.67
#212AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#212AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212AA9
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212AA9 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #212aa9; /* rgb */ color: rgb(33, 42, 169); /* oklch */ color: oklch(38.2% 0.197 269.7);
Tailwind
colors: {
custom: {
50: '#7665c4',
500: '#212aa9',
950: '#000000',
},
}SCSS
$custom: #212aa9; $custom-light: #7665c4; $custom-dark: #000000;
JSON
{
"hex": "#212aa9",
"rgb": {
"r": 33,
"g": 42,
"b": 169
},
"hsl": {
"h": 236.029,
"s": 67.327,
"l": 39.608
},
"oklch": {
"l": 0.38226,
"c": 0.19676,
"h": 269.7
},
"luminance": 0.04844
}Semantic roles & 50–950 ramp
primary
#212AA9
secondary
#C6BF60
accent
#DF3EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82