#213151#213151
#213151 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.061 H 263.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #213151 |
|---|---|
| RGB | rgb(33, 49, 81) |
| HSL | hsl(220, 42%, 22%) |
| HSV | hsv(220, 59%, 32%) |
| CMYK | cmyk(59.3%, 39.5%, 0%, 68.2%) |
| CIE-LAB | lab(20.49, 4.32, -21.59) |
| CIE-LCH | lch(20.49, 22.02, 281.32°) |
| OKLab | oklab(31.6% -0.0073 -0.061) |
| OKLCH | oklch(31.6% 0.061 263.2) |
| XYZ | xyz(3.2102, 3.1138, 8.2148) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.25
Marine
#042E60
ΔE00 4.93
Marine Blue
#01386A
ΔE00 6.48
Dark
#1B2431
ΔE00 8.68
Navy (survey)
#01153E
ΔE00 9.06
Twilight Blue
#0A437A
ΔE00 9.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#213151 #514121
analogous
#214951 #213151 #292151
triadic
#213151 #512131 #315121
tetradic
#213151 #512149 #514121 #215129
square
#213151 #512149 #514121 #215129
split-complementary
#213151 #512921 #495121
monochromatic
#090D16 #0F1726 #213151 #334B7C #4466A8
Accessibility & contrast
On white
12.94
#213151 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#213151 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #213151
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##213151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##213151 | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243452
Deuteranopia (green-blind)
#1E2F50
Tritanopia (blue-blind)
#07383D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #213151; /* rgb */ color: rgb(33, 49, 81); /* oklch */ color: oklch(31.6% 0.061 263.2);
Tailwind
colors: {
custom: {
50: '#606882',
500: '#213151',
950: '#000000',
},
}SCSS
$custom: #213151; $custom-light: #606882; $custom-dark: #000000;
JSON
{
"hex": "#213151",
"rgb": {
"r": 33,
"g": 49,
"b": 81
},
"hsl": {
"h": 220,
"s": 42.105,
"l": 22.353
},
"oklch": {
"l": 0.31598,
"c": 0.06146,
"h": 263.2
},
"luminance": 0.03114
}Semantic roles & 50–950 ramp
primary
#213151
secondary
#857149
accent
#A956D2
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C