#21348C#21348C
#21348C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.147 H 268.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #21348C |
|---|---|
| RGB | rgb(33, 52, 140) |
| HSL | hsl(229, 62%, 34%) |
| HSV | hsv(229, 76%, 55%) |
| CMYK | cmyk(76.4%, 62.9%, 0%, 45.1%) |
| CIE-LAB | lab(25.78, 25.30, -51.02) |
| CIE-LCH | lch(25.78, 56.95, 296.37°) |
| OKLab | oklab(37% -0.0036 -0.1474) |
| OKLCH | oklch(37% 0.147 268.6) |
| XYZ | xyz(6.5872, 4.6721, 25.3605) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.56
Blueberry
#464196
ΔE00 5.98
Darkslateblue
#483D8B
ΔE00 6.30
Darkish Blue
#014182
ΔE00 7.21
Cobalt (survey)
#1E488F
ΔE00 7.23
Cobalt
#0047AB
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21348C #8C7921
analogous
#216A8C #21348C #44218C
triadic
#21348C #8C2134 #348C21
tetradic
#21348C #8C216A #8C7921 #218C44
square
#21348C #8C216A #8C7921 #218C44
split-complementary
#21348C #8C4421 #6A8C21
monochromatic
#0A0F29 #15225A #21348C #2D46BE #5169D6
Accessibility & contrast
On white
10.85
#21348C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#21348C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21348C
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21348C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21348C | 1.00 | 10.85 | 1.93 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #21348c; /* rgb */ color: rgb(33, 52, 140); /* oklch */ color: oklch(37.0% 0.147 268.6);
Tailwind
colors: {
custom: {
50: '#6d6bae',
500: '#21348c',
950: '#000000',
},
}SCSS
$custom: #21348c; $custom-light: #6d6bae; $custom-dark: #000000;
JSON
{
"hex": "#21348c",
"rgb": {
"r": 33,
"g": 52,
"b": 140
},
"hsl": {
"h": 229.346,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.36996,
"c": 0.14745,
"h": 268.6
},
"luminance": 0.04673
}Semantic roles & 50–950 ramp
primary
#21348C
secondary
#B9A74F
accent
#C843E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F