#213C8A#213C8A
#213C8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.134 H 265.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #213C8A |
|---|---|
| RGB | rgb(33, 60, 138) |
| HSL | hsl(225, 61%, 34%) |
| HSV | hsv(225, 76%, 54%) |
| CMYK | cmyk(76.1%, 56.5%, 0%, 45.9%) |
| CIE-LAB | lab(27.82, 19.00, -46.46) |
| CIE-LCH | lch(27.82, 50.20, 292.24°) |
| OKLab | oklab(38.47% -0.0097 -0.1339) |
| OKLCH | oklch(38.47% 0.134 265.8) |
| XYZ | xyz(6.8289, 5.3893, 24.7202) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.41
Darkish Blue
#014182
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 5.53
Cobalt
#0047AB
ΔE00 5.65
Twilight Blue
#0A437A
ΔE00 5.76
Blueberry
#464196
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C8A #8A6F21
analogous
#21708A #213C8A #3A218A
triadic
#213C8A #8A213C #3C8A21
tetradic
#213C8A #8A2170 #8A6F21 #218A3A
square
#213C8A #8A2170 #8A6F21 #218A3A
split-complementary
#213C8A #8A3A21 #708A21
monochromatic
#091127 #152759 #213C8A #2D51BB #5072D5
Accessibility & contrast
On white
10.11
#213C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#213C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C8A
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C8A | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #213c8a; /* rgb */ color: rgb(33, 60, 138); /* oklch */ color: oklch(38.5% 0.134 265.8);
Tailwind
colors: {
custom: {
50: '#6c71ad',
500: '#213c8a',
950: '#000000',
},
}SCSS
$custom: #213c8a; $custom-light: #6c71ad; $custom-dark: #000000;
JSON
{
"hex": "#213c8a",
"rgb": {
"r": 33,
"g": 60,
"b": 138
},
"hsl": {
"h": 224.571,
"s": 61.404,
"l": 33.529
},
"oklch": {
"l": 0.38466,
"c": 0.13426,
"h": 265.8
},
"luminance": 0.0539
}Semantic roles & 50–950 ramp
primary
#213C8A
secondary
#B99D4E
accent
#BB43E5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F