#212C8F#212C8F
#212C8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.161 H 270.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #212C8F |
|---|---|
| RGB | rgb(33, 44, 143) |
| HSL | hsl(234, 63%, 35%) |
| HSV | hsv(234, 77%, 56%) |
| CMYK | cmyk(76.9%, 69.2%, 0%, 43.9%) |
| CIE-LAB | lab(24.02, 31.79, -55.76) |
| CIE-LCH | lch(24.02, 64.19, 299.69°) |
| OKLab | oklab(35.79% 0.0014 -0.1613) |
| OKLCH | oklch(35.79% 0.161 270.5) |
| XYZ | xyz(6.4841, 4.1072, 26.4323) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.93
Royal
#0C1793
ΔE00 5.27
Midnight Blue
#191970
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 7.04
Blueberry
#464196
ΔE00 7.07
Indigo Blue
#3A18B1
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C8F #8F8421
analogous
#21638F #212C8F #4D218F
triadic
#212C8F #8F212C #2C8F21
tetradic
#212C8F #8F2163 #8F8421 #218F4D
square
#212C8F #8F2163 #8F8421 #218F4D
split-complementary
#212C8F #8F4D21 #638F21
monochromatic
#0A0D2C #161D5D #212C8F #2C3BC1 #5360D7
Accessibility & contrast
On white
11.53
#212C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#212C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C8F
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C8F | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #212c8f; /* rgb */ color: rgb(33, 44, 143); /* oklch */ color: oklch(35.8% 0.161 270.5);
Tailwind
colors: {
custom: {
50: '#6f65b1',
500: '#212c8f',
950: '#000000',
},
}SCSS
$custom: #212c8f; $custom-light: #6f65b1; $custom-dark: #000000;
JSON
{
"hex": "#212c8f",
"rgb": {
"r": 33,
"g": 44,
"b": 143
},
"hsl": {
"h": 234,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.35792,
"c": 0.16135,
"h": 270.5
},
"luminance": 0.04108
}Semantic roles & 50–950 ramp
primary
#212C8F
secondary
#BBB051
accent
#D542E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80