#212C9A#212C9A
#212C9A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.176 H 270.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #212C9A |
|---|---|
| RGB | rgb(33, 44, 154) |
| HSL | hsl(235, 65%, 37%) |
| HSV | hsv(235, 79%, 60%) |
| CMYK | cmyk(78.6%, 71.4%, 0%, 39.6%) |
| CIE-LAB | lab(25.13, 35.83, -60.72) |
| CIE-LCH | lch(25.13, 70.50, 300.54°) |
| OKLab | oklab(36.93% 0.0002 -0.1758) |
| OKLCH | oklch(36.93% 0.176 270.1) |
| XYZ | xyz(7.3586, 4.4570, 31.0380) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Royal
#0C1793
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 6.18
Cobalt Blue
#030AA7
ΔE00 6.67
Blueberry
#464196
ΔE00 7.09
Royal Blue (survey)
#0504AA
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C9A #9A8F21
analogous
#21699A #212C9A #52219A
triadic
#212C9A #9A212C #2C9A21
tetradic
#212C9A #9A2169 #9A8F21 #219A52
square
#212C9A #9A2169 #9A8F21 #219A52
split-complementary
#212C9A #9A5221 #699A21
monochromatic
#0B0F35 #161E68 #212C9A #2C3ACC #5A66DC
Accessibility & contrast
On white
11.10
#212C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#212C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C9A
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C9A | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #212c9a; /* rgb */ color: rgb(33, 44, 154); /* oklch */ color: oklch(36.9% 0.176 270.1);
Tailwind
colors: {
custom: {
50: '#7266b9',
500: '#212c9a',
950: '#000000',
},
}SCSS
$custom: #212c9a; $custom-light: #7266b9; $custom-dark: #000000;
JSON
{
"hex": "#212c9a",
"rgb": {
"r": 33,
"g": 44,
"b": 154
},
"hsl": {
"h": 234.545,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.36926,
"c": 0.1758,
"h": 270.1
},
"luminance": 0.04458
}Semantic roles & 50–950 ramp
primary
#212C9A
secondary
#C0B657
accent
#D840E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81