#21378F#21378F
#21378F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.148 H 267.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #21378F |
|---|---|
| RGB | rgb(33, 55, 143) |
| HSL | hsl(228, 63%, 35%) |
| HSV | hsv(228, 77%, 56%) |
| CMYK | cmyk(76.9%, 61.5%, 0%, 43.9%) |
| CIE-LAB | lab(26.84, 24.41, -51.14) |
| CIE-LCH | lch(26.84, 56.67, 295.52°) |
| OKLab | oklab(37.87% -0.0057 -0.1477) |
| OKLCH | oklch(37.87% 0.148 267.8) |
| XYZ | xyz(6.9496, 5.0381, 26.5875) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.16
Blueberry
#464196
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 6.30
Cobalt (survey)
#1E488F
ΔE00 6.31
Cobalt
#0047AB
ΔE00 6.50
Darkish Blue
#014182
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21378F #8F7921
analogous
#216E8F #21378F #42218F
triadic
#21378F #8F2137 #378F21
tetradic
#21378F #8F216E #8F7921 #218F42
square
#21378F #8F216E #8F7921 #218F42
split-complementary
#21378F #8F4221 #6E8F21
monochromatic
#0A112C #16245D #21378F #2C4AC1 #536ED7
Accessibility & contrast
On white
10.46
#21378F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#21378F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21378F
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21378F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21378F | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #21378f; /* rgb */ color: rgb(33, 55, 143); /* oklch */ color: oklch(37.9% 0.148 267.8);
Tailwind
colors: {
custom: {
50: '#6e6db1',
500: '#21378f',
950: '#000000',
},
}SCSS
$custom: #21378f; $custom-light: #6e6db1; $custom-dark: #000000;
JSON
{
"hex": "#21378f",
"rgb": {
"r": 33,
"g": 55,
"b": 143
},
"hsl": {
"h": 228,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.37866,
"c": 0.14783,
"h": 267.8
},
"luminance": 0.05039
}Semantic roles & 50–950 ramp
primary
#21378F
secondary
#BBA651
accent
#C542E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80