#515784#515784
#515784 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.1% C 0.073 H 277.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #515784 |
|---|---|
| RGB | rgb(81, 87, 132) |
| HSL | hsl(233, 24%, 42%) |
| HSV | hsv(233, 39%, 52%) |
| CMYK | cmyk(38.6%, 34.1%, 0%, 48.2%) |
| CIE-LAB | lab(38.25, 9.55, -25.95) |
| CIE-LCH | lch(38.25, 27.65, 290.20°) |
| OKLab | oklab(47.12% 0.0094 -0.0725) |
| OKLCH | oklch(47.12% 0.073 277.4) |
| XYZ | xyz(10.9652, 10.2312, 23.2224) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 1.06
Twilight
#4E518B
ΔE00 3.17
Dusky Blue
#475F94
ΔE00 5.82
Denim Blue
#3B5B92
ΔE00 7.12
Blueberry
#464196
ΔE00 9.22
Dusk Blue
#26538D
ΔE00 9.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#515784 #847E51
analogous
#517184 #515784 #655184
triadic
#515784 #845157 #578451
tetradic
#515784 #845171 #847E51 #518465
square
#515784 #845171 #847E51 #518465
split-complementary
#515784 #846551 #718451
monochromatic
#222538 #3A3E5E #515784 #6D74A5 #9398BD
Accessibility & contrast
On white
6.89
#515784 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#515784 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #515784
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##515784 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##515784 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#485C86
Deuteranopia (green-blind)
#455883
Tritanopia (blue-blind)
#426067
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #515784; /* rgb */ color: rgb(81, 87, 132); /* oklch */ color: oklch(47.1% 0.073 277.4);
Tailwind
colors: {
custom: {
50: '#8486a8',
500: '#515784',
950: '#000000',
},
}SCSS
$custom: #515784; $custom-light: #8486a8; $custom-dark: #000000;
JSON
{
"hex": "#515784",
"rgb": {
"r": 81,
"g": 87,
"b": 132
},
"hsl": {
"h": 232.941,
"s": 23.944,
"l": 41.765
},
"oklch": {
"l": 0.47124,
"c": 0.07314,
"h": 277.4
},
"luminance": 0.10232
}Semantic roles & 50–950 ramp
primary
#515784
secondary
#AAA687
accent
#B667C0
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B0F
muted
#7C7C7F