#213B9B#213B9B
#213B9B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.159 H 267.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #213B9B |
|---|---|
| RGB | rgb(33, 59, 155) |
| HSL | hsl(227, 65%, 37%) |
| HSV | hsv(227, 79%, 61%) |
| CMYK | cmyk(78.7%, 61.9%, 0%, 39.2%) |
| CIE-LAB | lab(28.95, 26.35, -55.06) |
| CIE-LCH | lch(28.95, 61.04, 295.57°) |
| OKLab | oklab(39.75% -0.0084 -0.1592) |
| OKLCH | oklch(39.75% 0.159 267) |
| XYZ | xyz(8.1055, 5.8169, 31.6996) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.75
Cobalt
#0047AB
ΔE00 4.90
Blueberry
#464196
ΔE00 5.32
Cobalt (survey)
#1E488F
ΔE00 5.66
Blue Blue
#2242C7
ΔE00 6.26
Darkish Blue
#014182
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213B9B #9B8121
analogous
#21789B #213B9B #44219B
triadic
#213B9B #9B213B #3B9B21
tetradic
#213B9B #9B2178 #9B8121 #219B44
square
#213B9B #9B2178 #9B8121 #219B44
split-complementary
#213B9B #9B4421 #789B21
monochromatic
#0C1536 #162869 #213B9B #2C4ECD #5A76DC
Accessibility & contrast
On white
9.71
#213B9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#213B9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213B9B
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213B9B | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213b9b; /* rgb */ color: rgb(33, 59, 155); /* oklch */ color: oklch(39.8% 0.159 267.0);
Tailwind
colors: {
custom: {
50: '#7170b9',
500: '#213b9b',
950: '#000000',
},
}SCSS
$custom: #213b9b; $custom-light: #7170b9; $custom-dark: #000000;
JSON
{
"hex": "#213b9b",
"rgb": {
"r": 33,
"g": 59,
"b": 155
},
"hsl": {
"h": 227.213,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.39751,
"c": 0.15939,
"h": 267
},
"luminance": 0.05818
}Semantic roles & 50–950 ramp
primary
#213B9B
secondary
#C0AA58
accent
#C440E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81