#213C8F#213C8F
#213C8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.141 H 266.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #213C8F |
|---|---|
| RGB | rgb(33, 60, 143) |
| HSL | hsl(225, 63%, 35%) |
| HSV | hsv(225, 77%, 56%) |
| CMYK | cmyk(76.9%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(28.21, 20.98, -48.91) |
| CIE-LCH | lch(28.21, 53.21, 293.21°) |
| OKLab | oklab(38.89% -0.0094 -0.1411) |
| OKLCH | oklch(38.89% 0.141 266.2) |
| XYZ | xyz(7.1992, 5.5374, 26.6707) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.57
Sapphire (survey)
#2138AB
ΔE00 4.75
Darkish Blue
#014182
ΔE00 5.10
Cobalt
#0047AB
ΔE00 5.24
Blueberry
#464196
ΔE00 5.73
Twilight Blue
#0A437A
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C8F #8F7421
analogous
#21738F #213C8F #3D218F
triadic
#213C8F #8F213C #3C8F21
tetradic
#213C8F #8F2173 #8F7421 #218F3D
square
#213C8F #8F2173 #8F7421 #218F3D
split-complementary
#213C8F #8F3D21 #738F21
monochromatic
#0A122C #16275D #213C8F #2C51C1 #5374D7
Accessibility & contrast
On white
9.96
#213C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#213C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C8F
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C8F | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #213c8f; /* rgb */ color: rgb(33, 60, 143); /* oklch */ color: oklch(38.9% 0.141 266.2);
Tailwind
colors: {
custom: {
50: '#6e71b0',
500: '#213c8f',
950: '#000000',
},
}SCSS
$custom: #213c8f; $custom-light: #6e71b0; $custom-dark: #000000;
JSON
{
"hex": "#213c8f",
"rgb": {
"r": 33,
"g": 60,
"b": 143
},
"hsl": {
"h": 225.273,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.38891,
"c": 0.1414,
"h": 266.2
},
"luminance": 0.05538
}Semantic roles & 50–950 ramp
primary
#213C8F
secondary
#BBA151
accent
#BD42E6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80