#515996#515996
#515996 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.6% C 0.098 H 276.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #515996 |
|---|---|
| RGB | rgb(81, 89, 150) |
| HSL | hsl(233, 30%, 45%) |
| HSV | hsv(233, 46%, 59%) |
| CMYK | cmyk(46%, 40.7%, 0%, 41.2%) |
| CIE-LAB | lab(39.74, 13.80, -34.52) |
| CIE-LCH | lch(39.74, 37.17, 291.79°) |
| OKLab | oklab(48.57% 0.011 -0.0974) |
| OKLCH | oklch(48.57% 0.098 276.4) |
| XYZ | xyz(12.4691, 11.0955, 30.3329) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.07
Dusky Blue
#475F94
ΔE00 4.09
Dusk
#4E5481
ΔE00 4.18
Denim Blue
#3B5B92
ΔE00 5.60
Blueberry
#464196
ΔE00 8.01
Iris
#6258C4
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515996 #968E51
analogous
#517C96 #515996 #6B5196
triadic
#515996 #965159 #599651
tetradic
#515996 #96517C #968E51 #51966B
square
#515996 #96517C #968E51 #51966B
split-complementary
#515996 #966B51 #7C9651
monochromatic
#262A47 #3C416E #515996 #7279B3 #999FC8
Accessibility & contrast
On white
6.52
#515996 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#515996 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515996
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515996 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426098
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#396670
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #515996; /* rgb */ color: rgb(81, 89, 150); /* oklch */ color: oklch(48.6% 0.098 276.4);
Tailwind
colors: {
custom: {
50: '#8587b5',
500: '#515996',
950: '#000000',
},
}SCSS
$custom: #515996; $custom-light: #8587b5; $custom-dark: #000000;
JSON
{
"hex": "#515996",
"rgb": {
"r": 81,
"g": 89,
"b": 150
},
"hsl": {
"h": 233.043,
"s": 29.87,
"l": 45.294
},
"oklch": {
"l": 0.4857,
"c": 0.09802,
"h": 276.4
},
"luminance": 0.11096
}Semantic roles & 50–950 ramp
primary
#515996
secondary
#B5B08E
accent
#BA62C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B11
muted
#7C7C80