#504CA1#504CA1
#504CA1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.133 H 282.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #504CA1 |
|---|---|
| RGB | rgb(80, 76, 161) |
| HSL | hsl(243, 36%, 46%) |
| HSV | hsv(243, 53%, 63%) |
| CMYK | cmyk(50.3%, 52.8%, 0%, 36.9%) |
| CIE-LAB | lab(36.83, 25.35, -45.77) |
| CIE-LCH | lch(36.83, 52.32, 298.98°) |
| OKLab | oklab(46.56% 0.0278 -0.1305) |
| OKLCH | oklch(46.56% 0.133 282) |
| XYZ | xyz(12.3238, 9.4469, 34.8854) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.64
Ocean Blue
#4F42B5
ΔE00 4.66
Twilight
#4E518B
ΔE00 4.89
Darkslateblue
#483D8B
ΔE00 5.37
Iris
#6258C4
ΔE00 6.72
Blue With A Hint Of Purple
#533CC6
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504CA1 #9DA14C
analogous
#4C73A1 #504CA1 #7B4CA1
triadic
#504CA1 #A1504C #4CA150
tetradic
#504CA1 #A14C73 #9DA14C #4CA17B
square
#504CA1 #A14C73 #9DA14C #4CA17B
split-complementary
#504CA1 #A17B4C #73A14C
monochromatic
#27254E #3B3877 #504CA1 #736FBB #9B99CF
Accessibility & contrast
On white
7.27
#504CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#504CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504CA1
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504CA1 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#1A549F
Tritanopia (blue-blind)
#325F6F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #504ca1; /* rgb */ color: rgb(80, 76, 161); /* oklch */ color: oklch(46.6% 0.133 282.0);
Tailwind
colors: {
custom: {
50: '#877ebd',
500: '#504ca1',
950: '#000000',
},
}SCSS
$custom: #504ca1; $custom-light: #877ebd; $custom-dark: #000000;
JSON
{
"hex": "#504ca1",
"rgb": {
"r": 80,
"g": 76,
"b": 161
},
"hsl": {
"h": 242.824,
"s": 35.865,
"l": 46.471
},
"oklch": {
"l": 0.46557,
"c": 0.13341,
"h": 282
},
"luminance": 0.09448
}Semantic roles & 50–950 ramp
primary
#504CA1
secondary
#B9BB8E
accent
#CC5CC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81