#212C93#212C93
#212C93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.167 H 270.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #212C93 |
|---|---|
| RGB | rgb(33, 44, 147) |
| HSL | hsl(234, 63%, 35%) |
| HSV | hsv(234, 78%, 58%) |
| CMYK | cmyk(77.6%, 70.1%, 0%, 42.4%) |
| CIE-LAB | lab(24.42, 33.27, -57.58) |
| CIE-LCH | lch(24.42, 66.50, 300.02°) |
| OKLab | oklab(36.2% 0.001 -0.1667) |
| OKLCH | oklch(36.2% 0.167 270.4) |
| XYZ | xyz(6.7925, 4.2305, 28.0567) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Royal
#0C1793
ΔE00 5.11
Midnight Blue
#191970
ΔE00 6.76
Indigo Blue
#3A18B1
ΔE00 6.96
Blueberry
#464196
ΔE00 7.05
Darkslateblue
#483D8B
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212C93 #938821
analogous
#216593 #212C93 #4F2193
triadic
#212C93 #93212C #2C9321
tetradic
#212C93 #932165 #938821 #21934F
square
#212C93 #932165 #938821 #21934F
split-complementary
#212C93 #934F21 #659321
monochromatic
#0B0E2F #161D61 #212C93 #2C3BC5 #5562D9
Accessibility & contrast
On white
11.37
#212C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#212C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212C93
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212C93 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #212c93; /* rgb */ color: rgb(33, 44, 147); /* oklch */ color: oklch(36.2% 0.167 270.4);
Tailwind
colors: {
custom: {
50: '#7065b4',
500: '#212c93',
950: '#000000',
},
}SCSS
$custom: #212c93; $custom-light: #7065b4; $custom-dark: #000000;
JSON
{
"hex": "#212c93",
"rgb": {
"r": 33,
"g": 44,
"b": 147
},
"hsl": {
"h": 234.211,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.362,
"c": 0.16666,
"h": 270.4
},
"luminance": 0.04231
}Semantic roles & 50–950 ramp
primary
#212C93
secondary
#BDB353
accent
#D641E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80