#213176#213176
#213176 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.120 H 269.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #213176 |
|---|---|
| RGB | rgb(33, 49, 118) |
| HSL | hsl(229, 56%, 30%) |
| HSV | hsv(229, 72%, 46%) |
| CMYK | cmyk(72%, 58.5%, 0%, 53.7%) |
| CIE-LAB | lab(23.09, 18.77, -41.57) |
| CIE-LCH | lch(23.09, 45.61, 294.31°) |
| OKLab | oklab(34.41% -0.0015 -0.1197) |
| OKLCH | oklch(34.41% 0.12 269.3) |
| XYZ | xyz(4.9944, 3.8275, 17.6116) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.20
Marine Blue
#01386A
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 7.24
Midnight Blue
#191970
ΔE00 7.31
Darkish Blue
#014182
ΔE00 7.40
Blueberry
#464196
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213176 #766621
analogous
#215C76 #213176 #3C2176
triadic
#213176 #762131 #317621
tetradic
#213176 #76215C #766621 #21763C
square
#213176 #76215C #766621 #21763C
split-complementary
#213176 #763C21 #5C7621
monochromatic
#070A18 #141D46 #213176 #2E45A6 #465FCB
Accessibility & contrast
On white
11.89
#213176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#213176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213176
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213176 | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #213176; /* rgb */ color: rgb(33, 49, 118); /* oklch */ color: oklch(34.4% 0.120 269.3);
Tailwind
colors: {
custom: {
50: '#68689e',
500: '#213176',
950: '#000000',
},
}SCSS
$custom: #213176; $custom-light: #68689e; $custom-dark: #000000;
JSON
{
"hex": "#213176",
"rgb": {
"r": 33,
"g": 49,
"b": 118
},
"hsl": {
"h": 228.706,
"s": 56.291,
"l": 29.608
},
"oklch": {
"l": 0.34412,
"c": 0.1197,
"h": 269.3
},
"luminance": 0.03828
}Semantic roles & 50–950 ramp
primary
#213176
secondary
#A9974A
accent
#C348E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E