#515199#515199
#515199 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 47.1% C 0.114 H 281.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #515199 |
|---|---|
| RGB | rgb(81, 81, 153) |
| HSL | hsl(240, 31%, 46%) |
| HSV | hsv(240, 47%, 60%) |
| CMYK | cmyk(47.1%, 47.1%, 0%, 40%) |
| CIE-LAB | lab(37.72, 19.85, -39.53) |
| CIE-LCH | lch(37.72, 44.23, 296.67°) |
| OKLab | oklab(47.09% 0.022 -0.1121) |
| OKLCH | oklch(47.09% 0.114 281.1) |
| XYZ | xyz(12.0838, 9.9335, 31.4115) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.75
Blueberry
#464196
ΔE00 5.13
Dusk
#4E5481
ΔE00 5.34
Darkslateblue
#483D8B
ΔE00 6.35
Dusky Blue
#475F94
ΔE00 6.66
Ocean Blue
#4F42B5
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515199 #999951
analogous
#517599 #515199 #755199
triadic
#515199 #995151 #519951
tetradic
#515199 #995175 #999951 #519975
square
#515199 #995175 #999951 #519975
split-complementary
#515199 #997551 #759951
monochromatic
#272749 #3C3C71 #515199 #7373B5 #9B9BCA
Accessibility & contrast
On white
7.03
#515199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#515199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #515199
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515199 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345B9C
Deuteranopia (green-blind)
#2F5697
Tritanopia (blue-blind)
#38606D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #515199; /* rgb */ color: rgb(81, 81, 153); /* oklch */ color: oklch(47.1% 0.114 281.1);
Tailwind
colors: {
custom: {
50: '#8681b7',
500: '#515199',
950: '#000000',
},
}SCSS
$custom: #515199; $custom-light: #8681b7; $custom-dark: #000000;
JSON
{
"hex": "#515199",
"rgb": {
"r": 81,
"g": 81,
"b": 153
},
"hsl": {
"h": 240,
"s": 30.769,
"l": 45.882
},
"oklch": {
"l": 0.47088,
"c": 0.11423,
"h": 281.1
},
"luminance": 0.09934
}Semantic roles & 50–950 ramp
primary
#515199
secondary
#B7B78F
accent
#C761C7
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80