#212C75#212C75
#212C75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.125 H 271.3°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #212C75 |
|---|---|
| RGB | rgb(33, 44, 117) |
| HSL | hsl(232, 56%, 29%) |
| HSV | hsv(232, 72%, 46%) |
| CMYK | cmyk(71.8%, 62.4%, 0%, 54.1%) |
| CIE-LAB | lab(21.61, 21.90, -43.34) |
| CIE-LCH | lch(21.61, 48.56, 296.80°) |
| OKLab | oklab(33.28% 0.0029 -0.125) |
| OKLCH | oklch(33.28% 0.125 271.3) |
| XYZ | xyz(4.7377, 3.4086, 17.2344) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.59
Marine
#042E60
ΔE00 6.06
Darkslateblue
#483D8B
ΔE00 7.50
Marine Blue
#01386A
ΔE00 7.87
Royal
#0C1793
ΔE00 7.95
Blueberry
#464196
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C75 #756A21
analogous
#215675 #212C75 #402175
triadic
#212C75 #75212C #2C7521
tetradic
#212C75 #752156 #756A21 #217540
square
#212C75 #752156 #756A21 #217540
split-complementary
#212C75 #754021 #567521
monochromatic
#070918 #141A45 #212C75 #2E3EA5 #4657CB
Accessibility & contrast
On white
12.49
#212C75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#212C75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C75
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C75 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #212c75; /* rgb */ color: rgb(33, 44, 117); /* oklch */ color: oklch(33.3% 0.125 271.3);
Tailwind
colors: {
custom: {
50: '#68659d',
500: '#212c75',
950: '#000000',
},
}SCSS
$custom: #212c75; $custom-light: #68659d; $custom-dark: #000000;
JSON
{
"hex": "#212c75",
"rgb": {
"r": 33,
"g": 44,
"b": 117
},
"hsl": {
"h": 232.143,
"s": 56,
"l": 29.412
},
"oklch": {
"l": 0.33281,
"c": 0.12499,
"h": 271.3
},
"luminance": 0.03409
}Semantic roles & 50–950 ramp
primary
#212C75
secondary
#A89C4A
accent
#CC49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E