#213078#213078
#213078 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.124 H 269.7°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).
Color values
| HEX | #213078 |
|---|---|
| RGB | rgb(33, 48, 120) |
| HSL | hsl(230, 57%, 30%) |
| HSV | hsv(230, 73%, 47%) |
| CMYK | cmyk(72.5%, 60%, 0%, 52.9%) |
| CIE-LAB | lab(22.97, 20.26, -43.04) |
| CIE-LCH | lch(22.97, 47.57, 295.21°) |
| OKLab | oklab(34.38% -0.0006 -0.124) |
| OKLCH | oklch(34.38% 0.124 269.7) |
| XYZ | xyz(5.0732, 3.7928, 18.2304) |
| Luminance | 0.0379 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.61
Midnight Blue
#191970
ΔE00 6.86
Marine Blue
#01386A
ΔE00 6.89
Darkslateblue
#483D8B
ΔE00 7.10
Blueberry
#464196
ΔE00 7.68
Darkish Blue
#014182
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213078 #786921
analogous
#215C78 #213078 #3D2178
triadic
#213078 #782130 #307821
tetradic
#213078 #78215C #786921 #21783D
square
#213078 #78215C #786921 #21783D
split-complementary
#213078 #783D21 #5C7821
monochromatic
#070A18 #141D48 #213078 #2E43A8 #475ECC
Accessibility & contrast
On white
11.94
#213078 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#213078 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213078
11.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213078 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213078 | 1.00 | 11.94 | 1.76 | 11.94 |
| #FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #213078; /* rgb */ color: rgb(33, 48, 120); /* oklch */ color: oklch(34.4% 0.124 269.7);
Tailwind
colors: {
custom: {
50: '#6968a0',
500: '#213078',
950: '#000000',
},
}SCSS
$custom: #213078; $custom-light: #6968a0; $custom-dark: #000000;
JSON
{
"hex": "#213078",
"rgb": {
"r": 33,
"g": 48,
"b": 120
},
"hsl": {
"h": 229.655,
"s": 56.863,
"l": 30
},
"oklch": {
"l": 0.34375,
"c": 0.12401,
"h": 269.7
},
"luminance": 0.03793
}Semantic roles & 50–950 ramp
primary
#213078
secondary
#AB9A4A
accent
#C648E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E