#212973#212973
#212973 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.126 H 272.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #212973 |
|---|---|
| RGB | rgb(33, 41, 115) |
| HSL | hsl(234, 55%, 29%) |
| HSV | hsv(234, 71%, 45%) |
| CMYK | cmyk(71.3%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(20.62, 23.21, -43.67) |
| CIE-LCH | lch(20.62, 49.46, 297.99°) |
| OKLab | oklab(32.49% 0.0055 -0.126) |
| OKLCH | oklch(32.49% 0.126 272.5) |
| XYZ | xyz(4.5136, 3.1466, 16.5858) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.65
Marine
#042E60
ΔE00 6.59
Royal
#0C1793
ΔE00 7.47
Darkslateblue
#483D8B
ΔE00 7.90
Navy Blue
#1B2A4A
ΔE00 8.50
Marine Blue
#01386A
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212973 #736B21
analogous
#215273 #212973 #422173
triadic
#212973 #732129 #297321
tetradic
#212973 #732152 #736B21 #217342
square
#212973 #732152 #736B21 #217342
split-complementary
#212973 #734221 #527321
monochromatic
#070818 #131843 #212973 #2F3AA3 #4552CA
Accessibility & contrast
On white
12.89
#212973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#212973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212973
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212973 | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #212973; /* rgb */ color: rgb(33, 41, 115); /* oklch */ color: oklch(32.5% 0.126 272.5);
Tailwind
colors: {
custom: {
50: '#68629c',
500: '#212973',
950: '#000000',
},
}SCSS
$custom: #212973; $custom-light: #68629c; $custom-dark: #000000;
JSON
{
"hex": "#212973",
"rgb": {
"r": 33,
"g": 41,
"b": 115
},
"hsl": {
"h": 234.146,
"s": 55.405,
"l": 29.02
},
"oklch": {
"l": 0.32494,
"c": 0.12608,
"h": 272.5
},
"luminance": 0.03147
}Semantic roles & 50–950 ramp
primary
#212973
secondary
#A69D49
accent
#D049DF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E