#213D9F#213D9F
#213D9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.162 H 266.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #213D9F |
|---|---|
| RGB | rgb(33, 61, 159) |
| HSL | hsl(227, 66%, 38%) |
| HSV | hsv(227, 79%, 62%) |
| CMYK | cmyk(79.2%, 61.6%, 0%, 37.6%) |
| CIE-LAB | lab(29.82, 26.55, -56.06) |
| CIE-LCH | lch(29.82, 62.03, 295.34°) |
| OKLab | oklab(40.51% -0.0097 -0.1621) |
| OKLCH | oklch(40.51% 0.162 266.6) |
| XYZ | xyz(8.5518, 6.1630, 33.5330) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.64
Cobalt
#0047AB
ΔE00 4.25
Blueberry
#464196
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 5.62
Darkish Blue
#014182
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213D9F #9F8321
analogous
#217C9F #213D9F #44219F
triadic
#213D9F #9F213D #3D9F21
tetradic
#213D9F #9F217C #9F8321 #219F44
square
#213D9F #9F217C #9F8321 #219F44
split-complementary
#213D9F #9F4421 #7C9F21
monochromatic
#0C163A #162A6C #213D9F #2C50D2 #5D7ADD
Accessibility & contrast
On white
9.41
#213D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#213D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213D9F
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213D9F | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213d9f; /* rgb */ color: rgb(33, 61, 159); /* oklch */ color: oklch(40.5% 0.162 266.6);
Tailwind
colors: {
custom: {
50: '#7272bc',
500: '#213d9f',
950: '#000000',
},
}SCSS
$custom: #213d9f; $custom-light: #7272bc; $custom-dark: #000000;
JSON
{
"hex": "#213d9f",
"rgb": {
"r": 33,
"g": 61,
"b": 159
},
"hsl": {
"h": 226.667,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.40507,
"c": 0.16237,
"h": 266.6
},
"luminance": 0.06164
}Semantic roles & 50–950 ramp
primary
#213D9F
secondary
#C2AB5A
accent
#C33FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81