#21539F#21539F
#21539F is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.135 H 258.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #21539F |
|---|---|
| RGB | rgb(33, 83, 159) |
| HSL | hsl(216, 66%, 38%) |
| HSV | hsv(216, 79%, 62%) |
| CMYK | cmyk(79.2%, 47.8%, 0%, 37.6%) |
| CIE-LAB | lab(36.01, 11.69, -46.03) |
| CIE-LCH | lch(36.01, 47.49, 284.25°) |
| OKLab | oklab(45.2% -0.026 -0.1322) |
| OKLCH | oklch(45.2% 0.135 258.9) |
| XYZ | xyz(9.9762, 9.0119, 34.0078) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.26
Sapphire
#0F52BA
ΔE00 3.42
Denim Blue
#3B5B92
ΔE00 3.77
Light Navy Blue
#2E5A88
ΔE00 3.95
Cobalt (survey)
#1E488F
ΔE00 3.97
Light Navy
#155084
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21539F #9F6D21
analogous
#21929F #21539F #2E219F
triadic
#21539F #9F2153 #539F21
tetradic
#21539F #9F2192 #9F6D21 #219F2E
square
#21539F #9F2192 #9F6D21 #219F2E
split-complementary
#21539F #9F2E21 #929F21
monochromatic
#0C1E3A #16396C #21539F #2C6DD2 #5D90DD
Accessibility & contrast
On white
7.49
#21539F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#21539F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21539F
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21539F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21539F | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#034F9D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #21539f; /* rgb */ color: rgb(33, 83, 159); /* oklch */ color: oklch(45.2% 0.135 258.9);
Tailwind
colors: {
custom: {
50: '#7082bc',
500: '#21539f',
950: '#000000',
},
}SCSS
$custom: #21539f; $custom-light: #7082bc; $custom-dark: #000000;
JSON
{
"hex": "#21539f",
"rgb": {
"r": 33,
"g": 83,
"b": 159
},
"hsl": {
"h": 216.19,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.45195,
"c": 0.13472,
"h": 258.9
},
"luminance": 0.09013
}Semantic roles & 50–950 ramp
primary
#21539F
secondary
#C2995A
accent
#A53FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81