#515299#515299
#515299 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.3% C 0.113 H 280.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #515299 |
|---|---|
| RGB | rgb(81, 82, 153) |
| HSL | hsl(239, 31%, 46%) |
| HSV | hsv(239, 47%, 60%) |
| CMYK | cmyk(47.1%, 46.4%, 0%, 40%) |
| CIE-LAB | lab(37.99, 19.21, -39.10) |
| CIE-LCH | lch(37.99, 43.56, 296.17°) |
| OKLab | oklab(47.29% 0.0207 -0.1108) |
| OKLCH | oklch(47.29% 0.113 280.6) |
| XYZ | xyz(12.1587, 10.0832, 31.4364) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.65
Dusk
#4E5481
ΔE00 5.17
Blueberry
#464196
ΔE00 5.46
Dusky Blue
#475F94
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.68
Denim Blue
#3B5B92
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515299 #999851
analogous
#517699 #515299 #745199
triadic
#515299 #995152 #529951
tetradic
#515299 #995176 #999851 #519974
square
#515299 #995176 #999851 #519974
split-complementary
#515299 #997451 #769951
monochromatic
#272749 #3C3D71 #515299 #7373B5 #9B9BCA
Accessibility & contrast
On white
6.96
#515299 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#515299 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515299
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515299 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#315797
Tritanopia (blue-blind)
#38616E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #515299; /* rgb */ color: rgb(81, 82, 153); /* oklch */ color: oklch(47.3% 0.113 280.6);
Tailwind
colors: {
custom: {
50: '#8682b7',
500: '#515299',
950: '#000000',
},
}SCSS
$custom: #515299; $custom-light: #8682b7; $custom-dark: #000000;
JSON
{
"hex": "#515299",
"rgb": {
"r": 81,
"g": 82,
"b": 153
},
"hsl": {
"h": 239.167,
"s": 30.769,
"l": 45.882
},
"oklch": {
"l": 0.47291,
"c": 0.11275,
"h": 280.6
},
"luminance": 0.10084
}Semantic roles & 50–950 ramp
primary
#515299
secondary
#B7B68F
accent
#C661C7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80