#21509F#21509F
#21509F is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.138 H 260.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #21509F |
|---|---|
| RGB | rgb(33, 80, 159) |
| HSL | hsl(218, 66%, 38%) |
| HSV | hsv(218, 79%, 62%) |
| CMYK | cmyk(79.2%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(35.13, 13.69, -47.44) |
| CIE-LCH | lch(35.13, 49.38, 286.10°) |
| OKLab | oklab(44.52% -0.0236 -0.1364) |
| OKLCH | oklch(44.52% 0.138 260.2) |
| XYZ | xyz(9.7516, 8.5627, 33.9330) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.74
Cobalt (survey)
#1E488F
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 3.37
Cobalt
#0047AB
ΔE00 3.45
Denim Blue
#3B5B92
ΔE00 4.39
Light Navy
#155084
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21509F #9F7021
analogous
#218F9F #21509F #31219F
triadic
#21509F #9F2150 #509F21
tetradic
#21509F #9F218F #9F7021 #219F31
square
#21509F #9F218F #9F7021 #219F31
split-complementary
#21509F #9F3121 #8F9F21
monochromatic
#0C1D3A #16366C #21509F #2C6AD2 #5D8DDD
Accessibility & contrast
On white
7.74
#21509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#21509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21509F
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21509F | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2259A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #21509f; /* rgb */ color: rgb(33, 80, 159); /* oklch */ color: oklch(44.5% 0.138 260.2);
Tailwind
colors: {
custom: {
50: '#7080bc',
500: '#21509f',
950: '#000000',
},
}SCSS
$custom: #21509f; $custom-light: #7080bc; $custom-dark: #000000;
JSON
{
"hex": "#21509f",
"rgb": {
"r": 33,
"g": 80,
"b": 159
},
"hsl": {
"h": 217.619,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.44519,
"c": 0.13843,
"h": 260.2
},
"luminance": 0.08564
}Semantic roles & 50–950 ramp
primary
#21509F
secondary
#C29B5A
accent
#A93FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81