#21378C#21378C
#21378C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.144 H 267.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #21378C |
|---|---|
| RGB | rgb(33, 55, 140) |
| HSL | hsl(228, 62%, 34%) |
| HSV | hsv(228, 76%, 55%) |
| CMYK | cmyk(76.4%, 60.7%, 0%, 45.1%) |
| CIE-LAB | lab(26.59, 23.24, -49.70) |
| CIE-LCH | lch(26.59, 54.87, 295.06°) |
| OKLab | oklab(37.6% -0.0058 -0.1435) |
| OKLCH | oklch(37.6% 0.144 267.7) |
| XYZ | xyz(6.7254, 4.9484, 25.4066) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.64
Blueberry
#464196
ΔE00 5.80
Cobalt (survey)
#1E488F
ΔE00 6.21
Darkish Blue
#014182
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.33
Cobalt
#0047AB
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21378C #8C7621
analogous
#216D8C #21378C #41218C
triadic
#21378C #8C2137 #378C21
tetradic
#21378C #8C216D #8C7621 #218C41
square
#21378C #8C216D #8C7621 #218C41
split-complementary
#21378C #8C4121 #6D8C21
monochromatic
#0A1029 #15245A #21378C #2D4ABE #516DD6
Accessibility & contrast
On white
10.55
#21378C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#21378C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21378C
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21378C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21378C | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #21378c; /* rgb */ color: rgb(33, 55, 140); /* oklch */ color: oklch(37.6% 0.144 267.7);
Tailwind
colors: {
custom: {
50: '#6d6dae',
500: '#21378c',
950: '#000000',
},
}SCSS
$custom: #21378c; $custom-light: #6d6dae; $custom-dark: #000000;
JSON
{
"hex": "#21378c",
"rgb": {
"r": 33,
"g": 55,
"b": 140
},
"hsl": {
"h": 227.664,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.37596,
"c": 0.14362,
"h": 267.7
},
"luminance": 0.04949
}Semantic roles & 50–950 ramp
primary
#21378C
secondary
#B9A44F
accent
#C443E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F