#213D8F#213D8F
#213D8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.140 H 265.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #213D8F |
|---|---|
| RGB | rgb(33, 61, 143) |
| HSL | hsl(225, 63%, 35%) |
| HSV | hsv(225, 77%, 56%) |
| CMYK | cmyk(76.9%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(28.49, 20.29, -48.45) |
| CIE-LCH | lch(28.49, 52.53, 292.72°) |
| OKLab | oklab(39.1% -0.0102 -0.1397) |
| OKLCH | oklch(39.1% 0.14 265.8) |
| XYZ | xyz(7.2521, 5.6432, 26.6883) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.22
Darkish Blue
#014182
ΔE00 4.83
Sapphire (survey)
#2138AB
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.01
Blueberry
#464196
ΔE00 5.81
Twilight Blue
#0A437A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213D8F #8F7321
analogous
#21748F #213D8F #3C218F
triadic
#213D8F #8F213D #3D8F21
tetradic
#213D8F #8F2174 #8F7321 #218F3C
square
#213D8F #8F2174 #8F7321 #218F3C
split-complementary
#213D8F #8F3C21 #748F21
monochromatic
#0A132C #16285D #213D8F #2C52C1 #5375D7
Accessibility & contrast
On white
9.86
#213D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#213D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213D8F
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213D8F | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #213d8f; /* rgb */ color: rgb(33, 61, 143); /* oklch */ color: oklch(39.1% 0.140 265.8);
Tailwind
colors: {
custom: {
50: '#6d72b0',
500: '#213d8f',
950: '#000000',
},
}SCSS
$custom: #213d8f; $custom-light: #6d72b0; $custom-dark: #000000;
JSON
{
"hex": "#213d8f",
"rgb": {
"r": 33,
"g": 61,
"b": 143
},
"hsl": {
"h": 224.727,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.39101,
"c": 0.1401,
"h": 265.8
},
"luminance": 0.05644
}Semantic roles & 50–950 ramp
primary
#213D8F
secondary
#BBA051
accent
#BC42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80