#212C92#212C92
#212C92 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.165 H 270.4°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #212C92 |
|---|---|
| RGB | rgb(33, 44, 146) |
| HSL | hsl(234, 63%, 35%) |
| HSV | hsv(234, 77%, 57%) |
| CMYK | cmyk(77.4%, 69.9%, 0%, 42.7%) |
| CIE-LAB | lab(24.32, 32.90, -57.13) |
| CIE-LCH | lch(24.32, 65.92, 299.94°) |
| OKLab | oklab(36.1% 0.0011 -0.1653) |
| OKLCH | oklch(36.1% 0.165 270.4) |
| XYZ | xyz(6.7144, 4.1993, 27.6452) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.62
Royal
#0C1793
ΔE00 5.15
Midnight Blue
#191970
ΔE00 6.66
Blueberry
#464196
ΔE00 7.05
Indigo Blue
#3A18B1
ΔE00 7.08
Darkslateblue
#483D8B
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C92 #928721
analogous
#216592 #212C92 #4E2192
triadic
#212C92 #92212C #2C9221
tetradic
#212C92 #922165 #928721 #21924E
square
#212C92 #922165 #928721 #21924E
split-complementary
#212C92 #924E21 #659221
monochromatic
#0A0E2E #161D60 #212C92 #2C3BC4 #5562D9
Accessibility & contrast
On white
11.41
#212C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#212C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C92
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C92 | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #212c92; /* rgb */ color: rgb(33, 44, 146); /* oklch */ color: oklch(36.1% 0.165 270.4);
Tailwind
colors: {
custom: {
50: '#7065b3',
500: '#212c92',
950: '#000000',
},
}SCSS
$custom: #212c92; $custom-light: #7065b3; $custom-dark: #000000;
JSON
{
"hex": "#212c92",
"rgb": {
"r": 33,
"g": 44,
"b": 146
},
"hsl": {
"h": 234.159,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.36098,
"c": 0.16533,
"h": 270.4
},
"luminance": 0.042
}Semantic roles & 50–950 ramp
primary
#212C92
secondary
#BCB253
accent
#D642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80