#212C8E#212C8E
#212C8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.160 H 270.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #212C8E |
|---|---|
| RGB | rgb(33, 44, 142) |
| HSL | hsl(234, 62%, 34%) |
| HSV | hsv(234, 77%, 56%) |
| CMYK | cmyk(76.8%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(23.92, 31.42, -55.30) |
| CIE-LCH | lch(23.92, 63.60, 299.60°) |
| OKLab | oklab(35.69% 0.0015 -0.16) |
| OKLCH | oklch(35.69% 0.16 270.5) |
| XYZ | xyz(6.4087, 4.0770, 26.0351) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.04
Royal
#0C1793
ΔE00 5.32
Midnight Blue
#191970
ΔE00 6.30
Darkslateblue
#483D8B
ΔE00 7.02
Blueberry
#464196
ΔE00 7.08
Indigo Blue
#3A18B1
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C8E #8E8321
analogous
#21638E #212C8E #4D218E
triadic
#212C8E #8E212C #2C8E21
tetradic
#212C8E #8E2163 #8E8321 #218E4D
square
#212C8E #8E2163 #8E8321 #218E4D
split-complementary
#212C8E #8E4D21 #638E21
monochromatic
#0A0D2B #151D5C #212C8E #2D3BC0 #5260D7
Accessibility & contrast
On white
11.57
#212C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#212C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C8E
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C8E | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #212c8e; /* rgb */ color: rgb(33, 44, 142); /* oklch */ color: oklch(35.7% 0.160 270.5);
Tailwind
colors: {
custom: {
50: '#6f65b0',
500: '#212c8e',
950: '#000000',
},
}SCSS
$custom: #212c8e; $custom-light: #6f65b0; $custom-dark: #000000;
JSON
{
"hex": "#212c8e",
"rgb": {
"r": 33,
"g": 44,
"b": 142
},
"hsl": {
"h": 233.945,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.35691,
"c": 0.16001,
"h": 270.5
},
"luminance": 0.04078
}Semantic roles & 50–950 ramp
primary
#212C8E
secondary
#BAB050
accent
#D542E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80