#21389C#21389C
#21389C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.164 H 267.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #21389C |
|---|---|
| RGB | rgb(33, 56, 156) |
| HSL | hsl(229, 65%, 37%) |
| HSV | hsv(229, 79%, 61%) |
| CMYK | cmyk(78.8%, 64.1%, 0%, 38.8%) |
| CIE-LAB | lab(28.25, 28.75, -56.81) |
| CIE-LCH | lch(28.25, 63.67, 296.85°) |
| OKLab | oklab(39.26% -0.0065 -0.1643) |
| OKLCH | oklch(39.26% 0.164 267.7) |
| XYZ | xyz(8.0400, 5.5511, 32.0938) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.21
Blueberry
#464196
ΔE00 5.41
Cobalt
#0047AB
ΔE00 5.76
Blue Blue
#2242C7
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.58
Cobalt (survey)
#1E488F
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21389C #9C8521
analogous
#21769C #21389C #47219C
triadic
#21389C #9C2138 #389C21
tetradic
#21389C #9C2176 #9C8521 #219C47
square
#21389C #9C2176 #9C8521 #219C47
split-complementary
#21389C #9C4721 #769C21
monochromatic
#0C1437 #162669 #21389C #2C4ACF #5B73DC
Accessibility & contrast
On white
9.95
#21389C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#21389C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21389C
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21389C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21389C | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #21389c; /* rgb */ color: rgb(33, 56, 156); /* oklch */ color: oklch(39.3% 0.164 267.7);
Tailwind
colors: {
custom: {
50: '#716eba',
500: '#21389c',
950: '#000000',
},
}SCSS
$custom: #21389c; $custom-light: #716eba; $custom-dark: #000000;
JSON
{
"hex": "#21389c",
"rgb": {
"r": 33,
"g": 56,
"b": 156
},
"hsl": {
"h": 228.78,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.39263,
"c": 0.16445,
"h": 267.7
},
"luminance": 0.05552
}Semantic roles & 50–950 ramp
primary
#21389C
secondary
#C1AD58
accent
#C940E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81