#213166#213166
#213166 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.095 H 268.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #213166 |
|---|---|
| RGB | rgb(33, 49, 102) |
| HSL | hsl(226, 51%, 26%) |
| HSV | hsv(226, 68%, 40%) |
| CMYK | cmyk(67.6%, 52%, 0%, 60%) |
| CIE-LAB | lab(21.87, 12.46, -33.25) |
| CIE-LCH | lch(21.87, 35.51, 290.54°) |
| OKLab | oklab(33.1% -0.003 -0.0952) |
| OKLCH | oklch(33.1% 0.095 268.2) |
| XYZ | xyz(4.1230, 3.4789, 13.0220) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.75
Navy Blue
#1B2A4A
ΔE00 5.49
Marine Blue
#01386A
ΔE00 5.78
Darkish Blue
#014182
ΔE00 7.82
Twilight Blue
#0A437A
ΔE00 8.20
Midnight Blue
#191970
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213166 #665621
analogous
#215466 #213166 #342166
triadic
#213166 #662131 #316621
tetradic
#213166 #662154 #665621 #216634
square
#213166 #662154 #665621 #216634
split-complementary
#213166 #663421 #546621
monochromatic
#070B17 #121B38 #213166 #304794 #405EC1
Accessibility & contrast
On white
12.38
#213166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#213166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213166
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213166 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#153868
Deuteranopia (green-blind)
#063165
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #213166; /* rgb */ color: rgb(33, 49, 102); /* oklch */ color: oklch(33.1% 0.095 268.2);
Tailwind
colors: {
custom: {
50: '#646892',
500: '#213166',
950: '#000000',
},
}SCSS
$custom: #213166; $custom-light: #646892; $custom-dark: #000000;
JSON
{
"hex": "#213166",
"rgb": {
"r": 33,
"g": 49,
"b": 102
},
"hsl": {
"h": 226.087,
"s": 51.111,
"l": 26.471
},
"oklch": {
"l": 0.33098,
"c": 0.09525,
"h": 268.2
},
"luminance": 0.03479
}Semantic roles & 50–950 ramp
primary
#213166
secondary
#9A8749
accent
#BA4DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E