#212C9C#212C9C
#212C9C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.178 H 270.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #212C9C |
|---|---|
| RGB | rgb(33, 44, 156) |
| HSL | hsl(235, 65%, 37%) |
| HSV | hsv(235, 79%, 61%) |
| CMYK | cmyk(78.8%, 71.8%, 0%, 38.8%) |
| CIE-LAB | lab(25.33, 36.55, -61.60) |
| CIE-LCH | lch(25.33, 71.63, 300.68°) |
| OKLab | oklab(37.14% 0 -0.1784) |
| OKLCH | oklch(37.14% 0.178 270) |
| XYZ | xyz(7.5266, 4.5242, 31.9226) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.80
Royal
#0C1793
ΔE00 5.08
Indigo Blue
#3A18B1
ΔE00 5.98
Cobalt Blue
#030AA7
ΔE00 6.57
Royal Blue (survey)
#0504AA
ΔE00 7.11
Blueberry
#464196
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C9C #9C9121
analogous
#216A9C #212C9C #54219C
triadic
#212C9C #9C212C #2C9C21
tetradic
#212C9C #9C216A #9C9121 #219C54
square
#212C9C #9C216A #9C9121 #219C54
split-complementary
#212C9C #9C5421 #6A9C21
monochromatic
#0C1037 #161E69 #212C9C #2C3ACF #5B67DC
Accessibility & contrast
On white
11.02
#212C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#212C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C9C
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C9C | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #212c9c; /* rgb */ color: rgb(33, 44, 156); /* oklch */ color: oklch(37.1% 0.178 270.0);
Tailwind
colors: {
custom: {
50: '#7266ba',
500: '#212c9c',
950: '#000000',
},
}SCSS
$custom: #212c9c; $custom-light: #7266ba; $custom-dark: #000000;
JSON
{
"hex": "#212c9c",
"rgb": {
"r": 33,
"g": 44,
"b": 156
},
"hsl": {
"h": 234.634,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.37136,
"c": 0.17838,
"h": 270
},
"luminance": 0.04525
}Semantic roles & 50–950 ramp
primary
#212C9C
secondary
#C1B758
accent
#D940E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81