#213F99#213F99
#213F99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.152 H 265.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #213F99 |
|---|---|
| RGB | rgb(33, 63, 153) |
| HSL | hsl(225, 65%, 36%) |
| HSV | hsv(225, 78%, 60%) |
| CMYK | cmyk(78.4%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(29.86, 22.85, -52.36) |
| CIE-LCH | lch(29.86, 57.13, 293.58°) |
| OKLab | oklab(40.38% -0.0112 -0.1512) |
| OKLCH | oklch(40.38% 0.152 265.8) |
| XYZ | xyz(8.1525, 6.1773, 30.8935) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 4.19
Darkish Blue
#014182
ΔE00 5.45
Blueberry
#464196
ΔE00 5.56
Blue Blue
#2242C7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213F99 #997B21
analogous
#217B99 #213F99 #3F2199
triadic
#213F99 #99213F #3F9921
tetradic
#213F99 #99217B #997B21 #21993F
square
#213F99 #99217B #997B21 #21993F
split-complementary
#213F99 #993F21 #7B9921
monochromatic
#0B1634 #162A67 #213F99 #2C54CB #597ADB
Accessibility & contrast
On white
9.39
#213F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#213F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213F99
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213F99 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213f99; /* rgb */ color: rgb(33, 63, 153); /* oklch */ color: oklch(40.4% 0.152 265.8);
Tailwind
colors: {
custom: {
50: '#7073b8',
500: '#213f99',
950: '#000000',
},
}SCSS
$custom: #213f99; $custom-light: #7073b8; $custom-dark: #000000;
JSON
{
"hex": "#213f99",
"rgb": {
"r": 33,
"g": 63,
"b": 153
},
"hsl": {
"h": 225,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.40377,
"c": 0.15159,
"h": 265.8
},
"luminance": 0.06178
}Semantic roles & 50–950 ramp
primary
#213F99
secondary
#BFA556
accent
#BE40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80