#21389F#21389F
#21389F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.168 H 267.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #21389F |
|---|---|
| RGB | rgb(33, 56, 159) |
| HSL | hsl(229, 66%, 38%) |
| HSV | hsv(229, 79%, 62%) |
| CMYK | cmyk(79.2%, 64.8%, 0%, 37.6%) |
| CIE-LAB | lab(28.52, 29.90, -58.19) |
| CIE-LCH | lch(28.52, 65.42, 297.20°) |
| OKLab | oklab(39.55% -0.0066 -0.1684) |
| OKLCH | oklch(39.55% 0.168 267.8) |
| XYZ | xyz(8.2972, 5.6539, 33.4482) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.76
Blueberry
#464196
ΔE00 5.46
Cobalt
#0047AB
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.71
Cobalt (survey)
#1E488F
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21389F #9F8821
analogous
#21779F #21389F #49219F
triadic
#21389F #9F2138 #389F21
tetradic
#21389F #9F2177 #9F8821 #219F49
square
#21389F #9F2177 #9F8821 #219F49
split-complementary
#21389F #9F4921 #779F21
monochromatic
#0C143A #16266C #21389F #2C4AD2 #5D74DD
Accessibility & contrast
On white
9.85
#21389F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#21389F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21389F
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21389F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21389F | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #21389f; /* rgb */ color: rgb(33, 56, 159); /* oklch */ color: oklch(39.5% 0.168 267.8);
Tailwind
colors: {
custom: {
50: '#726ebc',
500: '#21389f',
950: '#000000',
},
}SCSS
$custom: #21389f; $custom-light: #726ebc; $custom-dark: #000000;
JSON
{
"hex": "#21389f",
"rgb": {
"r": 33,
"g": 56,
"b": 159
},
"hsl": {
"h": 229.048,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.39547,
"c": 0.16849,
"h": 267.8
},
"luminance": 0.05655
}Semantic roles & 50–950 ramp
primary
#21389F
secondary
#C2AF5A
accent
#CA3FE9
background
#F7F6FB
surface
#EDEBF7
border
#C8C6D0
text
#090712
muted
#7B7A81