#21346E#21346E
#21346E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.103 H 267.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #21346E |
|---|---|
| RGB | rgb(33, 52, 110) |
| HSL | hsl(225, 54%, 28%) |
| HSV | hsv(225, 70%, 43%) |
| CMYK | cmyk(70%, 52.7%, 0%, 56.9%) |
| CIE-LAB | lab(23.35, 13.49, -36.03) |
| CIE-LCH | lch(23.35, 38.47, 290.52°) |
| OKLab | oklab(34.41% -0.0051 -0.1033) |
| OKLCH | oklch(34.41% 0.103 267.2) |
| XYZ | xyz(4.6687, 3.9047, 15.2565) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.99
Marine Blue
#01386A
ΔE00 5.12
Darkish Blue
#014182
ΔE00 6.56
Navy Blue
#1B2A4A
ΔE00 6.74
Twilight Blue
#0A437A
ΔE00 7.09
Cobalt (survey)
#1E488F
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21346E #6E5B21
analogous
#215A6E #21346E #34216E
triadic
#21346E #6E2134 #346E21
tetradic
#21346E #6E215A #6E5B21 #216E34
square
#21346E #6E215A #6E5B21 #216E34
split-complementary
#21346E #6E3421 #5A6E21
monochromatic
#070B18 #131E3F #21346E #2F4A9D #4363C7
Accessibility & contrast
On white
11.79
#21346E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#21346E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21346E
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21346E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21346E | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133B70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#00424B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #21346e; /* rgb */ color: rgb(33, 52, 110); /* oklch */ color: oklch(34.4% 0.103 267.2);
Tailwind
colors: {
custom: {
50: '#666b98',
500: '#21346e',
950: '#000000',
},
}SCSS
$custom: #21346e; $custom-light: #666b98; $custom-dark: #000000;
JSON
{
"hex": "#21346e",
"rgb": {
"r": 33,
"g": 52,
"b": 110
},
"hsl": {
"h": 225.195,
"s": 53.846,
"l": 28.039
},
"oklch": {
"l": 0.34413,
"c": 0.10347,
"h": 267.2
},
"luminance": 0.03905
}Semantic roles & 50–950 ramp
primary
#21346E
secondary
#A28C49
accent
#B94BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E