#504BB5#504BB5
#504BB5 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.163 H 280.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #504BB5 |
|---|---|
| RGB | rgb(80, 75, 181) |
| HSL | hsl(243, 42%, 50%) |
| HSV | hsv(243, 59%, 71%) |
| CMYK | cmyk(55.8%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(37.97, 32.43, -55.81) |
| CIE-LCH | lch(37.97, 64.55, 300.16°) |
| OKLab | oklab(47.85% 0.0294 -0.16) |
| OKLCH | oklch(47.85% 0.163 280.4) |
| XYZ | xyz(14.1622, 10.0729, 44.9051) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.65
Blue With A Hint Of Purple
#533CC6
ΔE00 4.89
Iris
#6258C4
ΔE00 5.02
Bluey Purple
#6241C7
ΔE00 5.05
Blueberry
#464196
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504BB5 #B0B54B
analogous
#4B7BB5 #504BB5 #854BB5
triadic
#504BB5 #B5504B #4BB550
tetradic
#504BB5 #B54B7B #B0B54B #4BB585
square
#504BB5 #B54B7B #B0B54B #4BB585
split-complementary
#504BB5 #B5854B #7BB54B
monochromatic
#2A275F #3D398A #504BB5 #7A76C7 #A4A2D9
Accessibility & contrast
On white
6.97
#504BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#504BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504BB5
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504BB5 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#1E6478
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #504bb5; /* rgb */ color: rgb(80, 75, 181); /* oklch */ color: oklch(47.9% 0.163 280.4);
Tailwind
colors: {
custom: {
50: '#8a7dcc',
500: '#504bb5',
950: '#000000',
},
}SCSS
$custom: #504bb5; $custom-light: #8a7dcc; $custom-dark: #000000;
JSON
{
"hex": "#504bb5",
"rgb": {
"r": 80,
"g": 75,
"b": 181
},
"hsl": {
"h": 242.83,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.4785,
"c": 0.16273,
"h": 280.4
},
"luminance": 0.10074
}Semantic roles & 50–950 ramp
primary
#504BB5
secondary
#C3C696
accent
#D256CC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0913
muted
#7D7B82