#515396#515396
#515396 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.3% C 0.107 H 280.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #515396 |
|---|---|
| RGB | rgb(81, 83, 150) |
| HSL | hsl(238, 30%, 45%) |
| HSV | hsv(238, 46%, 59%) |
| CMYK | cmyk(46%, 44.7%, 0%, 41.2%) |
| CIE-LAB | lab(38.09, 17.63, -37.14) |
| CIE-LCH | lch(38.09, 41.11, 295.39°) |
| OKLab | oklab(47.31% 0.0189 -0.1051) |
| OKLCH | oklch(47.31% 0.107 280.2) |
| XYZ | xyz(11.9900, 10.1373, 30.1732) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.06
Dusk
#4E5481
ΔE00 4.50
Blueberry
#464196
ΔE00 5.94
Dusky Blue
#475F94
ΔE00 6.00
Denim Blue
#3B5B92
ΔE00 6.99
Darkslateblue
#483D8B
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515396 #969451
analogous
#517596 #515396 #715196
triadic
#515396 #965153 #539651
tetradic
#515396 #965175 #969451 #519671
square
#515396 #965175 #969451 #519671
split-complementary
#515396 #967151 #759651
monochromatic
#262747 #3C3D6E #515396 #7273B3 #999BC8
Accessibility & contrast
On white
6.94
#515396 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#515396 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515396
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515396 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395C99
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#3A616D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #515396; /* rgb */ color: rgb(81, 83, 150); /* oklch */ color: oklch(47.3% 0.107 280.2);
Tailwind
colors: {
custom: {
50: '#8683b5',
500: '#515396',
950: '#000000',
},
}SCSS
$custom: #515396; $custom-light: #8683b5; $custom-dark: #000000;
JSON
{
"hex": "#515396",
"rgb": {
"r": 81,
"g": 83,
"b": 150
},
"hsl": {
"h": 238.261,
"s": 29.87,
"l": 45.294
},
"oklch": {
"l": 0.47308,
"c": 0.10678,
"h": 280.2
},
"luminance": 0.10138
}Semantic roles & 50–950 ramp
primary
#515396
secondary
#B5B48E
accent
#C362C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0A11
muted
#7C7C80