#515596#515596
#515596 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.7% C 0.104 H 279.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #515596 |
|---|---|
| RGB | rgb(81, 85, 150) |
| HSL | hsl(237, 30%, 45%) |
| HSV | hsv(237, 46%, 59%) |
| CMYK | cmyk(46%, 43.3%, 0%, 41.2%) |
| CIE-LAB | lab(38.63, 16.35, -36.27) |
| CIE-LCH | lch(38.63, 39.78, 294.26°) |
| OKLab | oklab(47.72% 0.0163 -0.1025) |
| OKLCH | oklch(47.72% 0.104 279) |
| XYZ | xyz(12.1452, 10.4477, 30.2249) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.19
Dusk
#4E5481
ΔE00 4.26
Dusky Blue
#475F94
ΔE00 5.35
Denim Blue
#3B5B92
ΔE00 6.49
Blueberry
#464196
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515596 #969251
analogous
#517796 #515596 #705196
triadic
#515596 #965155 #559651
tetradic
#515596 #965177 #969251 #519670
square
#515596 #965177 #969251 #519670
split-complementary
#515596 #967051 #779651
monochromatic
#262847 #3C3E6E #515596 #7275B3 #999CC8
Accessibility & contrast
On white
6.80
#515596 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#515596 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515596
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515596 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5E98
Deuteranopia (green-blind)
#385895
Tritanopia (blue-blind)
#3A626E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #515596; /* rgb */ color: rgb(81, 85, 150); /* oklch */ color: oklch(47.7% 0.104 279.0);
Tailwind
colors: {
custom: {
50: '#8684b5',
500: '#515596',
950: '#000000',
},
}SCSS
$custom: #515596; $custom-light: #8684b5; $custom-dark: #000000;
JSON
{
"hex": "#515596",
"rgb": {
"r": 81,
"g": 85,
"b": 150
},
"hsl": {
"h": 236.522,
"s": 29.87,
"l": 45.294
},
"oklch": {
"l": 0.47724,
"c": 0.10382,
"h": 279
},
"luminance": 0.10448
}Semantic roles & 50–950 ramp
primary
#515596
secondary
#B5B38E
accent
#C062C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80