#504F8A#504F8A
#504F8A is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.7% C 0.095 H 282.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #504F8A |
|---|---|
| RGB | rgb(80, 79, 138) |
| HSL | hsl(241, 27%, 43%) |
| HSV | hsv(241, 43%, 54%) |
| CMYK | cmyk(42%, 42.8%, 0%, 45.9%) |
| CIE-LAB | lab(36.24, 16.19, -32.79) |
| CIE-LCH | lch(36.24, 36.57, 296.28°) |
| OKLab | oklab(45.66% 0.0209 -0.0924) |
| OKLCH | oklch(45.66% 0.095 282.7) |
| XYZ | xyz(10.6904, 9.1320, 25.2392) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.08
Dusk
#4E5481
ΔE00 3.34
Blueberry
#464196
ΔE00 5.90
Darkslateblue
#483D8B
ΔE00 6.13
Dusky Blue
#475F94
ΔE00 7.49
Denim Blue
#3B5B92
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504F8A #898A4F
analogous
#4F6B8A #504F8A #6E4F8A
triadic
#504F8A #8A504F #4F8A50
tetradic
#504F8A #8A4F6B #898A4F #4F8A6E
square
#504F8A #8A4F6B #898A4F #4F8A6E
split-complementary
#504F8A #8A6E4F #6B8A4F
monochromatic
#23223C #393963 #504F8A #6D6CAB #9393C1
Accessibility & contrast
On white
7.43
#504F8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#504F8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504F8A
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504F8A | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#375389
Tritanopia (blue-blind)
#3F5B66
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #504f8a; /* rgb */ color: rgb(80, 79, 138); /* oklch */ color: oklch(45.7% 0.095 282.7);
Tailwind
colors: {
custom: {
50: '#8480ac',
500: '#504f8a',
950: '#000000',
},
}SCSS
$custom: #504f8a; $custom-light: #8480ac; $custom-dark: #000000;
JSON
{
"hex": "#504f8a",
"rgb": {
"r": 80,
"g": 79,
"b": 138
},
"hsl": {
"h": 241.017,
"s": 27.189,
"l": 42.549
},
"oklch": {
"l": 0.45659,
"c": 0.09478,
"h": 282.7
},
"luminance": 0.09132
}Semantic roles & 50–950 ramp
primary
#504F8A
secondary
#ADAE87
accent
#C464C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F