#21344F#21344F
#21344F is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.2% C 0.054 H 257.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #21344F |
|---|---|
| RGB | rgb(33, 52, 79) |
| HSL | hsl(215, 41%, 22%) |
| HSV | hsv(215, 58%, 31%) |
| CMYK | cmyk(58.2%, 34.2%, 0%, 69%) |
| CIE-LAB | lab(21.37, 1.47, -18.88) |
| CIE-LCH | lch(21.37, 18.93, 274.46°) |
| OKLab | oklab(32.24% -0.012 -0.0531) |
| OKLCH | oklch(32.24% 0.054 257.2) |
| XYZ | xyz(3.2660, 3.3436, 7.8689) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.26
Marine
#042E60
ΔE00 5.59
Marine Blue
#01386A
ΔE00 6.07
Dark Blue Grey
#1F3B4D
ΔE00 7.06
Dark
#1B2431
ΔE00 7.48
Dark Grey Blue
#29465B
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21344F #4F3C21
analogous
#214B4F #21344F #25214F
triadic
#21344F #4F2134 #344F21
tetradic
#21344F #4F214B #4F3C21 #214F25
square
#21344F #4F214B #4F3C21 #214F25
split-complementary
#21344F #4F2521 #4B4F21
monochromatic
#090E16 #0F1824 #21344F #33507A #456DA5
Accessibility & contrast
On white
12.58
#21344F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#21344F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21344F
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21344F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21344F | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293650
Deuteranopia (green-blind)
#24314E
Tritanopia (blue-blind)
#083A3E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #21344f; /* rgb */ color: rgb(33, 52, 79); /* oklch */ color: oklch(32.2% 0.054 257.2);
Tailwind
colors: {
custom: {
50: '#606b80',
500: '#21344f',
950: '#000000',
},
}SCSS
$custom: #21344f; $custom-light: #606b80; $custom-dark: #000000;
JSON
{
"hex": "#21344f",
"rgb": {
"r": 33,
"g": 52,
"b": 79
},
"hsl": {
"h": 215.217,
"s": 41.071,
"l": 21.961
},
"oklch": {
"l": 0.32243,
"c": 0.05445,
"h": 257.2
},
"luminance": 0.03344
}Semantic roles & 50–950 ramp
primary
#21344F
secondary
#836B49
accent
#9F57D1
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C