#21347A#21347A
#21347A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.122 H 268.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #21347A |
|---|---|
| RGB | rgb(33, 52, 122) |
| HSL | hsl(227, 57%, 30%) |
| HSV | hsv(227, 73%, 48%) |
| CMYK | cmyk(73%, 57.4%, 0%, 52.2%) |
| CIE-LAB | lab(24.27, 18.24, -42.20) |
| CIE-LCH | lch(24.27, 45.97, 293.38°) |
| OKLab | oklab(35.4% -0.004 -0.1215) |
| OKLCH | oklch(35.4% 0.122 268.1) |
| XYZ | xyz(5.3668, 4.1839, 18.9333) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.34
Marine Blue
#01386A
ΔE00 5.95
Darkish Blue
#014182
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 7.01
Cobalt (survey)
#1E488F
ΔE00 7.20
Blueberry
#464196
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21347A #7A6721
analogous
#21607A #21347A #3A217A
triadic
#21347A #7A2134 #347A21
tetradic
#21347A #7A2160 #7A6721 #217A3A
square
#21347A #7A2160 #7A6721 #217A3A
split-complementary
#21347A #7A3A21 #607A21
monochromatic
#070B1A #141F4A #21347A #2E49AA #4864CD
Accessibility & contrast
On white
11.43
#21347A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#21347A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21347A
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21347A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21347A | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #21347a; /* rgb */ color: rgb(33, 52, 122); /* oklch */ color: oklch(35.4% 0.122 268.1);
Tailwind
colors: {
custom: {
50: '#696ba1',
500: '#21347a',
950: '#000000',
},
}SCSS
$custom: #21347a; $custom-light: #696ba1; $custom-dark: #000000;
JSON
{
"hex": "#21347a",
"rgb": {
"r": 33,
"g": 52,
"b": 122
},
"hsl": {
"h": 227.191,
"s": 57.419,
"l": 30.392
},
"oklch": {
"l": 0.35397,
"c": 0.12156,
"h": 268.1
},
"luminance": 0.04184
}Semantic roles & 50–950 ramp
primary
#21347A
secondary
#AD984A
accent
#C047E1
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F