#515397#515397
#515397 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.4% C 0.108 H 280.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #515397 |
|---|---|
| RGB | rgb(81, 83, 151) |
| HSL | hsl(238, 30%, 45%) |
| HSV | hsv(238, 46%, 59%) |
| CMYK | cmyk(46.4%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(38.15, 17.94, -37.65) |
| CIE-LCH | lch(38.15, 41.71, 295.48°) |
| OKLab | oklab(47.37% 0.0191 -0.1066) |
| OKLCH | oklch(47.37% 0.108 280.1) |
| XYZ | xyz(12.0708, 10.1696, 30.5991) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.25
Dusk
#4E5481
ΔE00 4.68
Blueberry
#464196
ΔE00 5.89
Dusky Blue
#475F94
ΔE00 6.00
Denim Blue
#3B5B92
ΔE00 6.98
Darkslateblue
#483D8B
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515397 #979551
analogous
#517697 #515397 #725197
triadic
#515397 #975153 #539751
tetradic
#515397 #975176 #979551 #519772
square
#515397 #975176 #979551 #519772
split-complementary
#515397 #977251 #769751
monochromatic
#262747 #3C3D6F #515397 #7274B3 #9A9BC9
Accessibility & contrast
On white
6.92
#515397 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#515397 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515397
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515397 | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#345795
Tritanopia (blue-blind)
#39616D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #515397; /* rgb */ color: rgb(81, 83, 151); /* oklch */ color: oklch(47.4% 0.108 280.1);
Tailwind
colors: {
custom: {
50: '#8683b6',
500: '#515397',
950: '#000000',
},
}SCSS
$custom: #515397; $custom-light: #8683b6; $custom-dark: #000000;
JSON
{
"hex": "#515397",
"rgb": {
"r": 81,
"g": 83,
"b": 151
},
"hsl": {
"h": 238.286,
"s": 30.172,
"l": 45.49
},
"oklch": {
"l": 0.4737,
"c": 0.10828,
"h": 280.1
},
"luminance": 0.1017
}Semantic roles & 50–950 ramp
primary
#515397
secondary
#B6B48E
accent
#C461C6
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0A11
muted
#7C7C80