#213B9F#213B9F
#213B9F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.165 H 267.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #213B9F |
|---|---|
| RGB | rgb(33, 59, 159) |
| HSL | hsl(228, 66%, 38%) |
| HSV | hsv(228, 79%, 62%) |
| CMYK | cmyk(79.2%, 62.9%, 0%, 37.6%) |
| CIE-LAB | lab(29.29, 27.89, -56.92) |
| CIE-LCH | lch(29.29, 63.39, 296.11°) |
| OKLab | oklab(40.12% -0.0084 -0.1646) |
| OKLCH | oklch(40.12% 0.165 267.1) |
| XYZ | xyz(8.4470, 5.9535, 33.4981) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.18
Cobalt
#0047AB
ΔE00 4.84
Blueberry
#464196
ΔE00 5.34
Blue Blue
#2242C7
ΔE00 5.71
Cobalt (survey)
#1E488F
ΔE00 5.98
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B9F #9F8521
analogous
#217A9F #213B9F #46219F
triadic
#213B9F #9F213B #3B9F21
tetradic
#213B9F #9F217A #9F8521 #219F46
square
#213B9F #9F217A #9F8521 #219F46
split-complementary
#213B9F #9F4621 #7A9F21
monochromatic
#0C153A #16286C #213B9F #2C4ED2 #5D78DD
Accessibility & contrast
On white
9.59
#213B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#213B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B9F
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B9F | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #213b9f; /* rgb */ color: rgb(33, 59, 159); /* oklch */ color: oklch(40.1% 0.165 267.1);
Tailwind
colors: {
custom: {
50: '#7270bc',
500: '#213b9f',
950: '#000000',
},
}SCSS
$custom: #213b9f; $custom-light: #7270bc; $custom-dark: #000000;
JSON
{
"hex": "#213b9f",
"rgb": {
"r": 33,
"g": 59,
"b": 159
},
"hsl": {
"h": 227.619,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.40118,
"c": 0.16483,
"h": 267.1
},
"luminance": 0.05954
}Semantic roles & 50–950 ramp
primary
#213B9F
secondary
#C2AC5A
accent
#C63FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81