#505F7C#505F7C
#505F7C is a mid, muted blue. Relative luminance 0.113; OKLCH L 48.5% C 0.050 H 263.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #505F7C |
|---|---|
| RGB | rgb(80, 95, 124) |
| HSL | hsl(220, 22%, 40%) |
| HSV | hsv(220, 35%, 49%) |
| CMYK | cmyk(35.5%, 23.4%, 0%, 51.4%) |
| CIE-LAB | lab(40.16, 1.89, -18.13) |
| CIE-LCH | lch(40.16, 18.23, 275.95°) |
| OKLab | oklab(48.46% -0.0059 -0.0501) |
| OKLCH | oklch(48.46% 0.05 263.3) |
| XYZ | xyz(11.0375, 11.3447, 20.6730) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 5.61
Dusk
#4E5481
ΔE00 6.25
Denim (survey)
#3B638C
ΔE00 6.60
Denim Blue
#3B5B92
ΔE00 6.61
Light Navy Blue
#2E5A88
ΔE00 7.54
Twilight
#4E518B
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#505F7C #7C6D50
analogous
#50757C #505F7C #57507C
triadic
#505F7C #7C505F #5F7C50
tetradic
#505F7C #7C5075 #7C6D50 #507C57
square
#505F7C #7C5075 #7C6D50 #507C57
split-complementary
#505F7C #7C5750 #757C50
monochromatic
#202632 #384357 #505F7C #6A7C9F #8F9DB7
Accessibility & contrast
On white
6.42
#505F7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#505F7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #505F7C
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##505F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##505F7C | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55617D
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#436569
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #505f7c; /* rgb */ color: rgb(80, 95, 124); /* oklch */ color: oklch(48.5% 0.050 263.3);
Tailwind
colors: {
custom: {
50: '#828ca2',
500: '#505f7c',
950: '#000000',
},
}SCSS
$custom: #505f7c; $custom-light: #828ca2; $custom-dark: #000000;
JSON
{
"hex": "#505f7c",
"rgb": {
"r": 80,
"g": 95,
"b": 124
},
"hsl": {
"h": 219.545,
"s": 21.569,
"l": 40
},
"oklch": {
"l": 0.48464,
"c": 0.05048,
"h": 263.3
},
"luminance": 0.11345
}Semantic roles & 50–950 ramp
primary
#505F7C
secondary
#A49984
accent
#A16ABE
background
#F8F8F9
surface
#EFF0F2
border
#CACBCC
text
#0A0C0F
muted
#7C7D7E