#21379C#21379C
#21379C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.166 H 268.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #21379C |
|---|---|
| RGB | rgb(33, 55, 156) |
| HSL | hsl(229, 65%, 37%) |
| HSV | hsv(229, 79%, 61%) |
| CMYK | cmyk(78.8%, 64.7%, 0%, 38.8%) |
| CIE-LAB | lab(27.99, 29.42, -57.23) |
| CIE-LCH | lch(27.99, 64.35, 297.21°) |
| OKLab | oklab(39.07% -0.0059 -0.1656) |
| OKLCH | oklch(39.07% 0.166 268) |
| XYZ | xyz(7.9921, 5.4551, 32.0778) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.16
Blueberry
#464196
ΔE00 5.49
Cobalt
#0047AB
ΔE00 6.06
Blue Blue
#2242C7
ΔE00 6.45
Darkslateblue
#483D8B
ΔE00 6.58
Cobalt (survey)
#1E488F
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21379C #9C8621
analogous
#21759C #21379C #48219C
triadic
#21379C #9C2137 #379C21
tetradic
#21379C #9C2175 #9C8621 #219C48
square
#21379C #9C2175 #9C8621 #219C48
split-complementary
#21379C #9C4821 #759C21
monochromatic
#0C1337 #162569 #21379C #2C49CF #5B72DC
Accessibility & contrast
On white
10.04
#21379C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#21379C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21379C
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21379C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21379C | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #21379c; /* rgb */ color: rgb(33, 55, 156); /* oklch */ color: oklch(39.1% 0.166 268.0);
Tailwind
colors: {
custom: {
50: '#716dba',
500: '#21379c',
950: '#000000',
},
}SCSS
$custom: #21379c; $custom-light: #716dba; $custom-dark: #000000;
JSON
{
"hex": "#21379c",
"rgb": {
"r": 33,
"g": 55,
"b": 156
},
"hsl": {
"h": 229.268,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.39074,
"c": 0.16567,
"h": 268
},
"luminance": 0.05456
}Semantic roles & 50–950 ramp
primary
#21379C
secondary
#C1AE58
accent
#CA40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81