#213C9A#213C9A
#213C9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.157 H 266.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #213C9A |
|---|---|
| RGB | rgb(33, 60, 154) |
| HSL | hsl(227, 65%, 37%) |
| HSV | hsv(227, 79%, 60%) |
| CMYK | cmyk(78.6%, 61%, 0%, 39.6%) |
| CIE-LAB | lab(29.13, 25.29, -54.16) |
| CIE-LCH | lch(29.13, 59.77, 295.03°) |
| OKLab | oklab(39.86% -0.0091 -0.1565) |
| OKLCH | oklch(39.86% 0.157 266.7) |
| XYZ | xyz(8.0738, 5.8872, 31.2764) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.09
Cobalt
#0047AB
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.26
Blueberry
#464196
ΔE00 5.34
Darkish Blue
#014182
ΔE00 6.22
Blue Blue
#2242C7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C9A #9A7F21
analogous
#21799A #213C9A #43219A
triadic
#213C9A #9A213C #3C9A21
tetradic
#213C9A #9A2179 #9A7F21 #219A43
square
#213C9A #9A2179 #9A7F21 #219A43
split-complementary
#213C9A #9A4321 #799A21
monochromatic
#0B1535 #162868 #213C9A #2C50CC #5A77DC
Accessibility & contrast
On white
9.64
#213C9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#213C9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C9A
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C9A | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #213c9a; /* rgb */ color: rgb(33, 60, 154); /* oklch */ color: oklch(39.9% 0.157 266.7);
Tailwind
colors: {
custom: {
50: '#7071b9',
500: '#213c9a',
950: '#000000',
},
}SCSS
$custom: #213c9a; $custom-light: #7071b9; $custom-dark: #000000;
JSON
{
"hex": "#213c9a",
"rgb": {
"r": 33,
"g": 60,
"b": 154
},
"hsl": {
"h": 226.612,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.39858,
"c": 0.15677,
"h": 266.7
},
"luminance": 0.05888
}Semantic roles & 50–950 ramp
primary
#213C9A
secondary
#C0A857
accent
#C240E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80