#504FA0#504FA0
#504FA0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.128 H 280.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #504FA0 |
|---|---|
| RGB | rgb(80, 79, 160) |
| HSL | hsl(241, 34%, 47%) |
| HSV | hsv(241, 51%, 63%) |
| CMYK | cmyk(50%, 50.6%, 0%, 37.3%) |
| CIE-LAB | lab(37.54, 23.12, -44.02) |
| CIE-LCH | lch(37.54, 49.72, 297.71°) |
| OKLab | oklab(47.07% 0.0241 -0.1253) |
| OKLCH | oklch(47.07% 0.128 280.9) |
| XYZ | xyz(12.4475, 9.8348, 34.4933) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.22
Blueberry
#464196
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 6.08
Iris
#6258C4
ΔE00 6.58
Dusk
#4E5481
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504FA0 #9FA04F
analogous
#4F77A0 #504FA0 #794FA0
triadic
#504FA0 #A0504F #4FA050
tetradic
#504FA0 #A04F77 #9FA04F #4FA079
square
#504FA0 #A04F77 #9FA04F #4FA079
split-complementary
#504FA0 #A0794F #77A04F
monochromatic
#27274E #3C3B77 #504FA0 #7373BA #9C9CCE
Accessibility & contrast
On white
7.08
#504FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#504FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504FA0
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504FA0 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295BA3
Deuteranopia (green-blind)
#23559E
Tritanopia (blue-blind)
#326170
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #504fa0; /* rgb */ color: rgb(80, 79, 160); /* oklch */ color: oklch(47.1% 0.128 280.9);
Tailwind
colors: {
custom: {
50: '#8780bd',
500: '#504fa0',
950: '#000000',
},
}SCSS
$custom: #504fa0; $custom-light: #8780bd; $custom-dark: #000000;
JSON
{
"hex": "#504fa0",
"rgb": {
"r": 80,
"g": 79,
"b": 160
},
"hsl": {
"h": 240.741,
"s": 33.891,
"l": 46.863
},
"oklch": {
"l": 0.47072,
"c": 0.12763,
"h": 280.9
},
"luminance": 0.09836
}Semantic roles & 50–950 ramp
primary
#504FA0
secondary
#BABB90
accent
#CA5EC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A12
muted
#7D7C81