#213C9F#213C9F
#213C9F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.164 H 266.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #213C9F |
|---|---|
| RGB | rgb(33, 60, 159) |
| HSL | hsl(227, 66%, 38%) |
| HSV | hsv(227, 79%, 62%) |
| CMYK | cmyk(79.2%, 62.3%, 0%, 37.6%) |
| CIE-LAB | lab(29.56, 27.22, -56.49) |
| CIE-LCH | lch(29.56, 62.71, 295.73°) |
| OKLab | oklab(40.31% -0.009 -0.1633) |
| OKLCH | oklch(40.31% 0.164 266.8) |
| XYZ | xyz(8.4989, 6.0573, 33.5154) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.40
Cobalt
#0047AB
ΔE00 4.54
Blueberry
#464196
ΔE00 5.34
Blue Blue
#2242C7
ΔE00 5.66
Cobalt (survey)
#1E488F
ΔE00 5.67
Darkish Blue
#014182
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213C9F #9F8421
analogous
#217B9F #213C9F #45219F
triadic
#213C9F #9F213C #3C9F21
tetradic
#213C9F #9F217B #9F8421 #219F45
square
#213C9F #9F217B #9F8421 #219F45
split-complementary
#213C9F #9F4521 #7B9F21
monochromatic
#0C163A #16296C #213C9F #2C4FD2 #5D79DD
Accessibility & contrast
On white
9.50
#213C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#213C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213C9F
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213C9F | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #213c9f; /* rgb */ color: rgb(33, 60, 159); /* oklch */ color: oklch(40.3% 0.164 266.8);
Tailwind
colors: {
custom: {
50: '#7271bc',
500: '#213c9f',
950: '#000000',
},
}SCSS
$custom: #213c9f; $custom-light: #7271bc; $custom-dark: #000000;
JSON
{
"hex": "#213c9f",
"rgb": {
"r": 33,
"g": 60,
"b": 159
},
"hsl": {
"h": 227.143,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.40312,
"c": 0.1636,
"h": 266.8
},
"luminance": 0.06058
}Semantic roles & 50–950 ramp
primary
#213C9F
secondary
#C2AC5A
accent
#C43FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81