#212C9B#212C9B
#212C9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.177 H 270.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #212C9B |
|---|---|
| RGB | rgb(33, 44, 155) |
| HSL | hsl(235, 65%, 37%) |
| HSV | hsv(235, 79%, 61%) |
| CMYK | cmyk(78.7%, 71.6%, 0%, 39.2%) |
| CIE-LAB | lab(25.23, 36.19, -61.16) |
| CIE-LCH | lch(25.23, 71.06, 300.61°) |
| OKLab | oklab(37.03% 0.0001 -0.1771) |
| OKLCH | oklch(37.03% 0.177 270) |
| XYZ | xyz(7.4423, 4.4904, 31.4785) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.86
Royal
#0C1793
ΔE00 5.06
Indigo Blue
#3A18B1
ΔE00 6.08
Cobalt Blue
#030AA7
ΔE00 6.62
Blueberry
#464196
ΔE00 7.11
Royal Blue (survey)
#0504AA
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C9B #9B9021
analogous
#21699B #212C9B #53219B
triadic
#212C9B #9B212C #2C9B21
tetradic
#212C9B #9B2169 #9B9021 #219B53
square
#212C9B #9B2169 #9B9021 #219B53
split-complementary
#212C9B #9B5321 #699B21
monochromatic
#0C0F36 #161E69 #212C9B #2C3ACD #5A66DC
Accessibility & contrast
On white
11.06
#212C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#212C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C9B
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C9B | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #212c9b; /* rgb */ color: rgb(33, 44, 155); /* oklch */ color: oklch(37.0% 0.177 270.0);
Tailwind
colors: {
custom: {
50: '#7266ba',
500: '#212c9b',
950: '#000000',
},
}SCSS
$custom: #212c9b; $custom-light: #7266ba; $custom-dark: #000000;
JSON
{
"hex": "#212c9b",
"rgb": {
"r": 33,
"g": 44,
"b": 155
},
"hsl": {
"h": 234.59,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.37031,
"c": 0.17709,
"h": 270
},
"luminance": 0.04491
}Semantic roles & 50–950 ramp
primary
#212C9B
secondary
#C0B758
accent
#D940E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81