#504CA2#504CA2
#504CA2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.135 H 281.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #504CA2 |
|---|---|
| RGB | rgb(80, 76, 162) |
| HSL | hsl(243, 36%, 47%) |
| HSV | hsv(243, 53%, 64%) |
| CMYK | cmyk(50.6%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(36.90, 25.67, -46.26) |
| CIE-LCH | lch(36.90, 52.90, 299.03°) |
| OKLab | oklab(46.63% 0.0278 -0.1319) |
| OKLCH | oklch(46.63% 0.135 281.9) |
| XYZ | xyz(12.4123, 9.4823, 35.3517) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.69
Ocean Blue
#4F42B5
ΔE00 4.52
Twilight
#4E518B
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.47
Iris
#6258C4
ΔE00 6.60
Blue With A Hint Of Purple
#533CC6
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504CA2 #9EA24C
analogous
#4C73A2 #504CA2 #7B4CA2
triadic
#504CA2 #A2504C #4CA250
tetradic
#504CA2 #A24C73 #9EA24C #4CA27B
square
#504CA2 #A24C73 #9EA24C #4CA27B
split-complementary
#504CA2 #A27B4C #73A24C
monochromatic
#27254F #3B3878 #504CA2 #7370BC #9C99CF
Accessibility & contrast
On white
7.25
#504CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#504CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504CA2
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504CA2 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#315F6F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #504ca2; /* rgb */ color: rgb(80, 76, 162); /* oklch */ color: oklch(46.6% 0.135 281.9);
Tailwind
colors: {
custom: {
50: '#877ebe',
500: '#504ca2',
950: '#000000',
},
}SCSS
$custom: #504ca2; $custom-light: #877ebe; $custom-dark: #000000;
JSON
{
"hex": "#504ca2",
"rgb": {
"r": 80,
"g": 76,
"b": 162
},
"hsl": {
"h": 242.791,
"s": 36.134,
"l": 46.667
},
"oklch": {
"l": 0.46628,
"c": 0.13484,
"h": 281.9
},
"luminance": 0.09483
}Semantic roles & 50–950 ramp
primary
#504CA2
secondary
#BABC8E
accent
#CC5CC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81