#213F8F#213F8F
#213F8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.138 H 265.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #213F8F |
|---|---|
| RGB | rgb(33, 63, 143) |
| HSL | hsl(224, 63%, 35%) |
| HSV | hsv(224, 77%, 56%) |
| CMYK | cmyk(76.9%, 55.9%, 0%, 43.9%) |
| CIE-LAB | lab(29.06, 18.91, -47.54) |
| CIE-LCH | lch(29.06, 51.16, 291.69°) |
| OKLab | oklab(39.53% -0.0118 -0.137) |
| OKLCH | oklch(39.53% 0.138 265.1) |
| XYZ | xyz(7.3609, 5.8607, 26.7246) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.50
Darkish Blue
#014182
ΔE00 4.34
Cobalt
#0047AB
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 5.34
Twilight Blue
#0A437A
ΔE00 5.45
Blueberry
#464196
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213F8F #8F7121
analogous
#21768F #213F8F #3A218F
triadic
#213F8F #8F213F #3F8F21
tetradic
#213F8F #8F2176 #8F7121 #218F3A
square
#213F8F #8F2176 #8F7121 #218F3A
split-complementary
#213F8F #8F3A21 #768F21
monochromatic
#0A132C #16295D #213F8F #2C55C1 #5377D7
Accessibility & contrast
On white
9.67
#213F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#213F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213F8F
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213F8F | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213f8f; /* rgb */ color: rgb(33, 63, 143); /* oklch */ color: oklch(39.5% 0.138 265.1);
Tailwind
colors: {
custom: {
50: '#6d73b0',
500: '#213f8f',
950: '#000000',
},
}SCSS
$custom: #213f8f; $custom-light: #6d73b0; $custom-dark: #000000;
JSON
{
"hex": "#213f8f",
"rgb": {
"r": 33,
"g": 63,
"b": 143
},
"hsl": {
"h": 223.636,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.39527,
"c": 0.1375,
"h": 265.1
},
"luminance": 0.05862
}Semantic roles & 50–950 ramp
primary
#213F8F
secondary
#BB9E51
accent
#B942E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80