#213887#213887
#213887 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.135 H 267.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #213887 |
|---|---|
| RGB | rgb(33, 56, 135) |
| HSL | hsl(226, 61%, 33%) |
| HSV | hsv(226, 76%, 53%) |
| CMYK | cmyk(75.6%, 58.5%, 0%, 47.1%) |
| CIE-LAB | lab(26.45, 20.58, -46.82) |
| CIE-LCH | lch(26.45, 51.15, 293.73°) |
| OKLab | oklab(37.36% -0.0067 -0.135) |
| OKLCH | oklch(37.36% 0.135 267.2) |
| XYZ | xyz(6.4130, 4.9003, 23.5248) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.51
Darkish Blue
#014182
ΔE00 5.65
Cobalt (survey)
#1E488F
ΔE00 5.76
Blueberry
#464196
ΔE00 6.11
Marine Blue
#01386A
ΔE00 6.41
Darkslateblue
#483D8B
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213887 #877021
analogous
#216B87 #213887 #3D2187
triadic
#213887 #872138 #388721
tetradic
#213887 #87216B #877021 #21873D
square
#213887 #87216B #877021 #21873D
split-complementary
#213887 #873D21 #6B8721
monochromatic
#090F25 #152456 #213887 #2D4CB8 #4F6DD4
Accessibility & contrast
On white
10.60
#213887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#213887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213887
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213887 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #213887; /* rgb */ color: rgb(33, 56, 135); /* oklch */ color: oklch(37.4% 0.135 267.2);
Tailwind
colors: {
custom: {
50: '#6c6eab',
500: '#213887',
950: '#000000',
},
}SCSS
$custom: #213887; $custom-light: #6c6eab; $custom-dark: #000000;
JSON
{
"hex": "#213887",
"rgb": {
"r": 33,
"g": 56,
"b": 135
},
"hsl": {
"h": 226.471,
"s": 60.714,
"l": 32.941
},
"oklch": {
"l": 0.37363,
"c": 0.1352,
"h": 267.2
},
"luminance": 0.04901
}Semantic roles & 50–950 ramp
primary
#213887
secondary
#B79F4D
accent
#C044E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F