#213F9B#213F9B
#213F9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.154 H 265.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #213F9B |
|---|---|
| RGB | rgb(33, 63, 155) |
| HSL | hsl(225, 65%, 37%) |
| HSV | hsv(225, 79%, 61%) |
| CMYK | cmyk(78.7%, 59.4%, 0%, 39.2%) |
| CIE-LAB | lab(30.02, 23.64, -53.31) |
| CIE-LCH | lch(30.02, 58.31, 293.91°) |
| OKLab | oklab(40.55% -0.0111 -0.154) |
| OKLCH | oklch(40.55% 0.154 265.9) |
| XYZ | xyz(8.3190, 6.2440, 31.7708) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.67
Cobalt
#0047AB
ΔE00 3.78
Cobalt (survey)
#1E488F
ΔE00 4.37
Blueberry
#464196
ΔE00 5.51
Darkish Blue
#014182
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213F9B #9B7D21
analogous
#217C9B #213F9B #40219B
triadic
#213F9B #9B213F #3F9B21
tetradic
#213F9B #9B217C #9B7D21 #219B40
square
#213F9B #9B217C #9B7D21 #219B40
split-complementary
#213F9B #9B4021 #7C9B21
monochromatic
#0C1636 #162A69 #213F9B #2C54CD #5A7ADC
Accessibility & contrast
On white
9.34
#213F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#213F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213F9B
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213F9B | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #213f9b; /* rgb */ color: rgb(33, 63, 155); /* oklch */ color: oklch(40.6% 0.154 265.9);
Tailwind
colors: {
custom: {
50: '#7073b9',
500: '#213f9b',
950: '#000000',
},
}SCSS
$custom: #213f9b; $custom-light: #7073b9; $custom-dark: #000000;
JSON
{
"hex": "#213f9b",
"rgb": {
"r": 33,
"g": 63,
"b": 155
},
"hsl": {
"h": 225.246,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.40551,
"c": 0.15437,
"h": 265.9
},
"luminance": 0.06245
}Semantic roles & 50–950 ramp
primary
#213F9B
secondary
#C0A658
accent
#BF40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81