#515293#515293
#515293 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.9% C 0.104 H 281.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #515293 |
|---|---|
| RGB | rgb(81, 82, 147) |
| HSL | hsl(239, 29%, 45%) |
| HSV | hsv(239, 45%, 58%) |
| CMYK | cmyk(44.9%, 44.2%, 0%, 42.4%) |
| CIE-LAB | lab(37.64, 17.33, -36.03) |
| CIE-LCH | lch(37.64, 39.98, 295.68°) |
| OKLab | oklab(46.92% 0.0197 -0.1019) |
| OKLCH | oklch(46.92% 0.104 281) |
| XYZ | xyz(11.6755, 9.8900, 28.8919) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.55
Dusk
#4E5481
ΔE00 4.13
Blueberry
#464196
ΔE00 5.83
Dusky Blue
#475F94
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.70
Denim Blue
#3B5B92
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515293 #939251
analogous
#517393 #515293 #715193
triadic
#515293 #935152 #529351
tetradic
#515293 #935173 #939251 #519371
square
#515293 #935173 #939251 #519371
split-complementary
#515293 #937151 #739351
monochromatic
#262644 #3B3C6C #515293 #7172B1 #9899C6
Accessibility & contrast
On white
7.05
#515293 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#515293 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #515293
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515293 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395B95
Deuteranopia (green-blind)
#365692
Tritanopia (blue-blind)
#3C5F6B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #515293; /* rgb */ color: rgb(81, 82, 147); /* oklch */ color: oklch(46.9% 0.104 281.0);
Tailwind
colors: {
custom: {
50: '#8582b3',
500: '#515293',
950: '#000000',
},
}SCSS
$custom: #515293; $custom-light: #8582b3; $custom-dark: #000000;
JSON
{
"hex": "#515293",
"rgb": {
"r": 81,
"g": 82,
"b": 147
},
"hsl": {
"h": 239.091,
"s": 28.947,
"l": 44.706
},
"oklch": {
"l": 0.46915,
"c": 0.10375,
"h": 281
},
"luminance": 0.09891
}Semantic roles & 50–950 ramp
primary
#515293
secondary
#B3B38D
accent
#C463C5
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80