#22519F#22519F
#22519F is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.137 H 260.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #22519F |
|---|---|
| RGB | rgb(34, 81, 159) |
| HSL | hsl(217, 65%, 38%) |
| HSV | hsv(217, 79%, 62%) |
| CMYK | cmyk(78.6%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(35.45, 13.14, -46.92) |
| CIE-LCH | lch(35.45, 48.72, 285.64°) |
| OKLab | oklab(44.78% -0.0237 -0.1348) |
| OKLCH | oklch(44.78% 0.137 260) |
| XYZ | xyz(9.8579, 8.7270, 33.9591) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.58
Sapphire
#0F52BA
ΔE00 3.34
Cobalt (survey)
#1E488F
ΔE00 3.38
Cobalt
#0047AB
ΔE00 3.74
Denim Blue
#3B5B92
ΔE00 4.13
Light Navy Blue
#2E5A88
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#22519F #9F7022
analogous
#228F9F #22519F #31229F
triadic
#22519F #9F2251 #519F22
tetradic
#22519F #9F228F #9F7022 #229F31
square
#22519F #9F228F #9F7022 #229F31
split-complementary
#22519F #9F3122 #8F9F22
monochromatic
#0C1E3A #17376D #22519F #2D6BD1 #5F8EDD
Accessibility & contrast
On white
7.65
#22519F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#22519F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #22519F
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##22519F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##22519F | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2459A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #22519f; /* rgb */ color: rgb(34, 81, 159); /* oklch */ color: oklch(44.8% 0.137 260.0);
Tailwind
colors: {
custom: {
50: '#7181bc',
500: '#22519f',
950: '#000000',
},
}SCSS
$custom: #22519f; $custom-light: #7181bc; $custom-dark: #000000;
JSON
{
"hex": "#22519f",
"rgb": {
"r": 34,
"g": 81,
"b": 159
},
"hsl": {
"h": 217.44,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.44778,
"c": 0.1369,
"h": 260
},
"luminance": 0.08728
}Semantic roles & 50–950 ramp
primary
#22519F
secondary
#C19B5B
accent
#A940E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81