#213C8C#213C8C
#213C8C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.137 H 266.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #213C8C |
|---|---|
| RGB | rgb(33, 60, 140) |
| HSL | hsl(225, 62%, 34%) |
| HSV | hsv(225, 76%, 55%) |
| CMYK | cmyk(76.4%, 57.1%, 0%, 45.1%) |
| CIE-LAB | lab(27.97, 19.79, -47.45) |
| CIE-LCH | lch(27.97, 51.41, 292.64°) |
| OKLab | oklab(38.64% -0.0096 -0.1368) |
| OKLCH | oklch(38.64% 0.137 266) |
| XYZ | xyz(6.9750, 5.4477, 25.4898) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.46
Darkish Blue
#014182
ΔE00 4.83
Sapphire (survey)
#2138AB
ΔE00 5.21
Cobalt
#0047AB
ΔE00 5.47
Blueberry
#464196
ΔE00 5.93
Twilight Blue
#0A437A
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C8C #8C7121
analogous
#21728C #213C8C #3C218C
triadic
#213C8C #8C213C #3C8C21
tetradic
#213C8C #8C2172 #8C7121 #218C3C
square
#213C8C #8C2172 #8C7121 #218C3C
split-complementary
#213C8C #8C3C21 #728C21
monochromatic
#0A1229 #15275A #213C8C #2D51BE #5173D6
Accessibility & contrast
On white
10.05
#213C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#213C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C8C
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C8C | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #213c8c; /* rgb */ color: rgb(33, 60, 140); /* oklch */ color: oklch(38.6% 0.137 266.0);
Tailwind
colors: {
custom: {
50: '#6d71ae',
500: '#213c8c',
950: '#000000',
},
}SCSS
$custom: #213c8c; $custom-light: #6d71ae; $custom-dark: #000000;
JSON
{
"hex": "#213c8c",
"rgb": {
"r": 33,
"g": 60,
"b": 140
},
"hsl": {
"h": 224.86,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.38635,
"c": 0.13713,
"h": 266
},
"luminance": 0.05449
}Semantic roles & 50–950 ramp
primary
#213C8C
secondary
#B99F4F
accent
#BC43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F