#213E8F#213E8F
#213E8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.139 H 265.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #213E8F |
|---|---|
| RGB | rgb(33, 62, 143) |
| HSL | hsl(224, 63%, 35%) |
| HSV | hsv(224, 77%, 56%) |
| CMYK | cmyk(76.9%, 56.6%, 0%, 43.9%) |
| CIE-LAB | lab(28.78, 19.60, -47.99) |
| CIE-LCH | lch(28.78, 51.84, 292.21°) |
| OKLab | oklab(39.31% -0.011 -0.1384) |
| OKLCH | oklch(39.31% 0.139 265.5) |
| XYZ | xyz(7.3060, 5.7509, 26.7063) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.86
Darkish Blue
#014182
ΔE00 4.58
Cobalt
#0047AB
ΔE00 4.79
Sapphire (survey)
#2138AB
ΔE00 5.12
Twilight Blue
#0A437A
ΔE00 5.70
Blueberry
#464196
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213E8F #8F7221
analogous
#21758F #213E8F #3B218F
triadic
#213E8F #8F213E #3E8F21
tetradic
#213E8F #8F2175 #8F7221 #218F3B
square
#213E8F #8F2175 #8F7221 #218F3B
split-complementary
#213E8F #8F3B21 #758F21
monochromatic
#0A132C #16285D #213E8F #2C54C1 #5376D7
Accessibility & contrast
On white
9.77
#213E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#213E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213E8F
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213E8F | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #213e8f; /* rgb */ color: rgb(33, 62, 143); /* oklch */ color: oklch(39.3% 0.139 265.5);
Tailwind
colors: {
custom: {
50: '#6d72b0',
500: '#213e8f',
950: '#000000',
},
}SCSS
$custom: #213e8f; $custom-light: #6d72b0; $custom-dark: #000000;
JSON
{
"hex": "#213e8f",
"rgb": {
"r": 33,
"g": 62,
"b": 143
},
"hsl": {
"h": 224.182,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.39313,
"c": 0.1388,
"h": 265.5
},
"luminance": 0.05752
}Semantic roles & 50–950 ramp
primary
#213E8F
secondary
#BB9F51
accent
#BB42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80