#504BB1#504BB1
#504BB1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.157 H 280.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #504BB1 |
|---|---|
| RGB | rgb(80, 75, 177) |
| HSL | hsl(243, 40%, 49%) |
| HSV | hsv(243, 58%, 69%) |
| CMYK | cmyk(54.8%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(37.68, 31.14, -53.92) |
| CIE-LCH | lch(37.68, 62.27, 300.00°) |
| OKLab | oklab(47.54% 0.0294 -0.1545) |
| OKLCH | oklch(47.54% 0.157 280.8) |
| XYZ | xyz(13.7577, 9.9111, 42.7745) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.78
Blueberry
#464196
ΔE00 4.96
Blue With A Hint Of Purple
#533CC6
ΔE00 5.26
Iris
#6258C4
ΔE00 5.28
Bluey Purple
#6241C7
ΔE00 5.43
Blue Blue
#2242C7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504BB1 #ACB14B
analogous
#4B79B1 #504BB1 #834BB1
triadic
#504BB1 #B1504B #4BB150
tetradic
#504BB1 #B14B79 #ACB14B #4BB183
square
#504BB1 #B14B79 #ACB14B #4BB183
split-complementary
#504BB1 #B1834B #79B14B
monochromatic
#29275B #3D3986 #504BB1 #7975C4 #A2A0D7
Accessibility & contrast
On white
7.04
#504BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#504BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504BB1
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504BB1 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#236376
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #504bb1; /* rgb */ color: rgb(80, 75, 177); /* oklch */ color: oklch(47.5% 0.157 280.8);
Tailwind
colors: {
custom: {
50: '#897dc9',
500: '#504bb1',
950: '#000000',
},
}SCSS
$custom: #504bb1; $custom-light: #897dc9; $custom-dark: #000000;
JSON
{
"hex": "#504bb1",
"rgb": {
"r": 80,
"g": 75,
"b": 177
},
"hsl": {
"h": 242.941,
"s": 40.476,
"l": 49.412
},
"oklch": {
"l": 0.47543,
"c": 0.15726,
"h": 280.8
},
"luminance": 0.09912
}Semantic roles & 50–950 ramp
primary
#504BB1
secondary
#C1C394
accent
#D057CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82