#504BA2#504BA2
#504BA2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.136 H 282.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #504BA2 |
|---|---|
| RGB | rgb(80, 75, 162) |
| HSL | hsl(243, 37%, 46%) |
| HSV | hsv(243, 54%, 64%) |
| CMYK | cmyk(50.6%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(36.64, 26.30, -46.67) |
| CIE-LCH | lch(36.64, 53.57, 299.41°) |
| OKLab | oklab(46.44% 0.029 -0.1331) |
| OKLCH | oklch(46.44% 0.136 282.3) |
| XYZ | xyz(12.3440, 9.3456, 35.3289) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.45
Ocean Blue
#4F42B5
ΔE00 4.28
Twilight
#4E518B
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 5.24
Iris
#6258C4
ΔE00 6.72
Blue With A Hint Of Purple
#533CC6
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504BA2 #9DA24B
analogous
#4B72A2 #504BA2 #7C4BA2
triadic
#504BA2 #A2504B #4BA250
tetradic
#504BA2 #A24B72 #9DA24B #4BA27C
square
#504BA2 #A24B72 #9DA24B #4BA27C
split-complementary
#504BA2 #A27C4B #72A24B
monochromatic
#27244E #3B3878 #504BA2 #736EBC #9B98CF
Accessibility & contrast
On white
7.32
#504BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#504BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504BA2
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504BA2 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#1553A0
Tritanopia (blue-blind)
#315E6F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #504ba2; /* rgb */ color: rgb(80, 75, 162); /* oklch */ color: oklch(46.4% 0.136 282.3);
Tailwind
colors: {
custom: {
50: '#877dbe',
500: '#504ba2',
950: '#000000',
},
}SCSS
$custom: #504ba2; $custom-light: #877dbe; $custom-dark: #000000;
JSON
{
"hex": "#504ba2",
"rgb": {
"r": 80,
"g": 75,
"b": 162
},
"hsl": {
"h": 243.448,
"s": 36.709,
"l": 46.471
},
"oklch": {
"l": 0.46437,
"c": 0.13627,
"h": 282.3
},
"luminance": 0.09346
}Semantic roles & 50–950 ramp
primary
#504BA2
secondary
#B9BC8D
accent
#CD5BC6
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81