#212377#212377
#212377 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.139 H 274.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #212377 |
|---|---|
| RGB | rgb(33, 35, 119) |
| HSL | hsl(239, 57%, 30%) |
| HSV | hsv(239, 72%, 47%) |
| CMYK | cmyk(72.3%, 70.6%, 0%, 53.3%) |
| CIE-LAB | lab(19.46, 28.79, -48.14) |
| CIE-LCH | lch(19.46, 56.09, 300.88°) |
| OKLab | oklab(31.76% 0.0099 -0.1391) |
| OKLCH | oklch(31.76% 0.139 274.1) |
| XYZ | xyz(4.5569, 2.8569, 17.7605) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.72
Royal
#0C1793
ΔE00 5.53
Dark Royal Blue
#02066F
ΔE00 6.73
Darkblue (survey)
#030764
ΔE00 6.99
Deep Blue
#040273
ΔE00 7.31
Navy
#000080
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#212377 #777521
analogous
#214E77 #212377 #4A2177
triadic
#212377 #772123 #237721
tetradic
#212377 #77214E #777521 #21774A
square
#212377 #77214E #777521 #21774A
split-complementary
#212377 #774A21 #4E7721
monochromatic
#070718 #141547 #212377 #2E31A7 #474ACC
Accessibility & contrast
On white
13.36
#212377 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#212377 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #212377
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##212377 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##212377 | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #212377; /* rgb */ color: rgb(33, 35, 119); /* oklch */ color: oklch(31.8% 0.139 274.1);
Tailwind
colors: {
custom: {
50: '#6a5e9f',
500: '#212377',
950: '#000000',
},
}SCSS
$custom: #212377; $custom-light: #6a5e9f; $custom-dark: #000000;
JSON
{
"hex": "#212377",
"rgb": {
"r": 33,
"g": 35,
"b": 119
},
"hsl": {
"h": 238.605,
"s": 56.579,
"l": 29.804
},
"oklch": {
"l": 0.31762,
"c": 0.13943,
"h": 274.1
},
"luminance": 0.02857
}Semantic roles & 50–950 ramp
primary
#212377
secondary
#AAA84A
accent
#DC48E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E