#213F9F#213F9F
#213F9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.160 H 266.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #213F9F |
|---|---|
| RGB | rgb(33, 63, 159) |
| HSL | hsl(226, 66%, 38%) |
| HSV | hsv(226, 79%, 62%) |
| CMYK | cmyk(79.2%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(30.35, 25.20, -55.19) |
| CIE-LCH | lch(30.35, 60.67, 294.54°) |
| OKLab | oklab(40.9% -0.011 -0.1595) |
| OKLCH | oklch(40.9% 0.16 266.1) |
| XYZ | xyz(8.6605, 6.3806, 33.5693) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Cobalt
#0047AB
ΔE00 3.66
Cobalt (survey)
#1E488F
ΔE00 4.75
Blueberry
#464196
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.60
Darkish Blue
#014182
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213F9F #9F8121
analogous
#217E9F #213F9F #42219F
triadic
#213F9F #9F213F #3F9F21
tetradic
#213F9F #9F217E #9F8121 #219F42
square
#213F9F #9F217E #9F8121 #219F42
split-complementary
#213F9F #9F4221 #7E9F21
monochromatic
#0C173A #162B6C #213F9F #2C53D2 #5D7CDD
Accessibility & contrast
On white
9.23
#213F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#213F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213F9F
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213F9F | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #213f9f; /* rgb */ color: rgb(33, 63, 159); /* oklch */ color: oklch(40.9% 0.160 266.1);
Tailwind
colors: {
custom: {
50: '#7173bc',
500: '#213f9f',
950: '#000000',
},
}SCSS
$custom: #213f9f; $custom-light: #7173bc; $custom-dark: #000000;
JSON
{
"hex": "#213f9f",
"rgb": {
"r": 33,
"g": 63,
"b": 159
},
"hsl": {
"h": 225.714,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.40904,
"c": 0.15988,
"h": 266.1
},
"luminance": 0.06382
}Semantic roles & 50–950 ramp
primary
#213F9F
secondary
#C2A95A
accent
#C03FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81