#212AAF#212AAF
#212AAF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 38.9% C 0.204 H 269.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #212AAF |
|---|---|
| RGB | rgb(33, 42, 175) |
| HSL | hsl(236, 68%, 41%) |
| HSV | hsv(236, 81%, 69%) |
| CMYK | cmyk(81.1%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(26.94, 44.40, -70.44) |
| CIE-LCH | lch(26.94, 83.26, 302.22°) |
| OKLab | oklab(38.89% -0.0019 -0.2041) |
| OKLCH | oklch(38.89% 0.204 269.5) |
| XYZ | xyz(9.1904, 5.0733, 41.0440) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.92
Indigo Blue
#3A18B1
ΔE00 4.25
True Blue
#010FCC
ΔE00 5.13
Royal
#0C1793
ΔE00 5.79
Cobalt Blue
#030AA7
ΔE00 5.86
Mediumblue
#0000CD
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212AAF #AFA621
analogous
#2171AF #212AAF #5F21AF
triadic
#212AAF #AF212A #2AAF21
tetradic
#212AAF #AF2171 #AFA621 #21AF5F
square
#212AAF #AF2171 #AFA621 #21AF5F
split-complementary
#212AAF #AF5F21 #71AF21
monochromatic
#0E1148 #171E7C #212AAF #343FD9 #6870E3
Accessibility & contrast
On white
10.42
#212AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#212AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212AAF
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212AAF | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #212aaf; /* rgb */ color: rgb(33, 42, 175); /* oklch */ color: oklch(38.9% 0.204 269.5);
Tailwind
colors: {
custom: {
50: '#7765c8',
500: '#212aaf',
950: '#000000',
},
}SCSS
$custom: #212aaf; $custom-light: #7765c8; $custom-dark: #000000;
JSON
{
"hex": "#212aaf",
"rgb": {
"r": 33,
"g": 42,
"b": 175
},
"hsl": {
"h": 236.197,
"s": 68.269,
"l": 40.784
},
"oklch": {
"l": 0.38889,
"c": 0.20407,
"h": 269.5
},
"luminance": 0.05074
}Semantic roles & 50–950 ramp
primary
#212AAF
secondary
#C8C264
accent
#E03DEB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82