#515391#515391
#515391 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.0% C 0.099 H 280.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #515391 |
|---|---|
| RGB | rgb(81, 83, 145) |
| HSL | hsl(238, 28%, 44%) |
| HSV | hsv(238, 44%, 57%) |
| CMYK | cmyk(44.1%, 42.8%, 0%, 43.1%) |
| CIE-LAB | lab(37.81, 16.06, -34.56) |
| CIE-LCH | lch(37.81, 38.11, 294.93°) |
| OKLab | oklab(47% 0.018 -0.0976) |
| OKLCH | oklch(47% 0.099 280.5) |
| XYZ | xyz(11.5959, 9.9797, 28.0978) |
| Luminance | 0.0998 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.20
Dusk
#4E5481
ΔE00 3.59
Dusky Blue
#475F94
ΔE00 6.09
Blueberry
#464196
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 7.11
Denim Blue
#3B5B92
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515391 #918F51
analogous
#517391 #515391 #6F5191
triadic
#515391 #915153 #539151
tetradic
#515391 #915173 #918F51 #51916F
square
#515391 #915173 #918F51 #51916F
split-complementary
#515391 #916F51 #739151
monochromatic
#252642 #3B3D6A #515391 #7072AF #9799C5
Accessibility & contrast
On white
7.01
#515391 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#515391 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515391
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515391 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515391 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5B93
Deuteranopia (green-blind)
#385790
Tritanopia (blue-blind)
#3D606B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #515391; /* rgb */ color: rgb(81, 83, 145); /* oklch */ color: oklch(47.0% 0.099 280.5);
Tailwind
colors: {
custom: {
50: '#8583b1',
500: '#515391',
950: '#000000',
},
}SCSS
$custom: #515391; $custom-light: #8583b1; $custom-dark: #000000;
JSON
{
"hex": "#515391",
"rgb": {
"r": 81,
"g": 83,
"b": 145
},
"hsl": {
"h": 238.125,
"s": 28.319,
"l": 44.314
},
"oklch": {
"l": 0.47001,
"c": 0.09921,
"h": 280.5
},
"luminance": 0.0998
}Semantic roles & 50–950 ramp
primary
#515391
secondary
#B2B18C
accent
#C263C5
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0A11
muted
#7C7C80