#21509C#21509C
#21509C is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.134 H 259.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #21509C |
|---|---|
| RGB | rgb(33, 80, 156) |
| HSL | hsl(217, 65%, 37%) |
| HSV | hsv(217, 79%, 61%) |
| CMYK | cmyk(78.8%, 48.7%, 0%, 38.8%) |
| CIE-LAB | lab(34.92, 12.50, -45.97) |
| CIE-LCH | lch(34.92, 47.64, 285.21°) |
| OKLab | oklab(44.3% -0.024 -0.1321) |
| OKLCH | oklch(44.3% 0.134 259.7) |
| XYZ | xyz(9.4944, 8.4599, 32.5786) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.36
Cobalt (survey)
#1E488F
ΔE00 2.93
Cobalt
#0047AB
ΔE00 3.69
Sapphire
#0F52BA
ΔE00 3.74
Light Navy
#155084
ΔE00 4.24
Denim Blue
#3B5B92
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#21509C #9C6D21
analogous
#218E9C #21509C #30219C
triadic
#21509C #9C2150 #509C21
tetradic
#21509C #9C218E #9C6D21 #219C30
square
#21509C #9C218E #9C6D21 #219C30
split-complementary
#21509C #9C3021 #8E9C21
monochromatic
#0C1C37 #163669 #21509C #2C6ACF #5B8CDC
Accessibility & contrast
On white
7.80
#21509C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#21509C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #21509C
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##21509C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##21509C | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #21509c; /* rgb */ color: rgb(33, 80, 156); /* oklch */ color: oklch(44.3% 0.134 259.7);
Tailwind
colors: {
custom: {
50: '#7080ba',
500: '#21509c',
950: '#000000',
},
}SCSS
$custom: #21509c; $custom-light: #7080ba; $custom-dark: #000000;
JSON
{
"hex": "#21509c",
"rgb": {
"r": 33,
"g": 80,
"b": 156
},
"hsl": {
"h": 217.073,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.44296,
"c": 0.13424,
"h": 259.7
},
"luminance": 0.08461
}Semantic roles & 50–950 ramp
primary
#21509C
secondary
#C19958
accent
#A840E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81