#212BAA#212BAA
#212BAA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.197 H 269.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #212BAA |
|---|---|
| RGB | rgb(33, 43, 170) |
| HSL | hsl(236, 67%, 40%) |
| HSV | hsv(236, 81%, 67%) |
| CMYK | cmyk(80.6%, 74.7%, 0%, 33.3%) |
| CIE-LAB | lab(26.60, 42.10, -68.00) |
| CIE-LCH | lch(26.60, 79.98, 301.76°) |
| OKLab | oklab(38.48% -0.0015 -0.197) |
| OKLCH | oklch(38.48% 0.197 269.6) |
| XYZ | xyz(8.7443, 4.9524, 38.5175) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Indigo Blue
#3A18B1
ΔE00 4.68
Royal
#0C1793
ΔE00 5.55
True Blue
#010FCC
ΔE00 5.78
Cobalt Blue
#030AA7
ΔE00 6.01
Ultramarine
#2000B1
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212BAA #AAA021
analogous
#2170AA #212BAA #5B21AA
triadic
#212BAA #AA212B #2BAA21
tetradic
#212BAA #AA2170 #AAA021 #21AA5B
square
#212BAA #AA2170 #AAA021 #21AA5B
split-complementary
#212BAA #AA5B21 #70AA21
monochromatic
#0D1143 #171E77 #212BAA #313DD7 #646EE1
Accessibility & contrast
On white
10.55
#212BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#212BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212BAA
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212BAA | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #212baa; /* rgb */ color: rgb(33, 43, 170); /* oklch */ color: oklch(38.5% 0.197 269.6);
Tailwind
colors: {
custom: {
50: '#7666c5',
500: '#212baa',
950: '#000000',
},
}SCSS
$custom: #212baa; $custom-light: #7666c5; $custom-dark: #000000;
JSON
{
"hex": "#212baa",
"rgb": {
"r": 33,
"g": 43,
"b": 170
},
"hsl": {
"h": 235.62,
"s": 67.488,
"l": 39.804
},
"oklch": {
"l": 0.38483,
"c": 0.19701,
"h": 269.6
},
"luminance": 0.04953
}Semantic roles & 50–950 ramp
primary
#212BAA
secondary
#C6BF61
accent
#DE3DEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82