#504FDA#504FDA
#504FDA is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.5% C 0.206 H 276.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #504FDA |
|---|---|
| RGB | rgb(80, 79, 218) |
| HSL | hsl(240, 65%, 58%) |
| HSV | hsv(240, 64%, 85%) |
| CMYK | cmyk(63.3%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(41.78, 42.04, -71.09) |
| CIE-LCH | lch(41.78, 82.59, 300.60°) |
| OKLab | oklab(51.54% 0.0239 -0.2049) |
| OKLCH | oklch(51.54% 0.206 276.7) |
| XYZ | xyz(18.7550, 12.3579, 67.7130) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.60
Iris
#6258C4
ΔE00 4.55
Purpleish Blue
#6140EF
ΔE00 4.96
Slate Blue
#6A5ACD
ΔE00 5.07
Light Indigo
#6D5ACF
ΔE00 5.39
Electric Blue
#0652FF
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504FDA #D9DA4F
analogous
#4F93DA #504FDA #964FDA
triadic
#504FDA #DA504F #4FDA50
tetradic
#504FDA #DA4F93 #D9DA4F #4FDA96
square
#504FDA #DA4F93 #D9DA4F #4FDA96
split-complementary
#504FDA #DA964F #93DA4F
monochromatic
#1F1E90 #2A29C3 #504FDA #8282E5 #B5B4EF
Accessibility & contrast
On white
6.05
#504FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#504FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504FDA
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504FDA | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #504fda; /* rgb */ color: rgb(80, 79, 218); /* oklch */ color: oklch(51.5% 0.206 276.7);
Tailwind
colors: {
custom: {
50: '#9081e7',
500: '#504fda',
950: '#000000',
},
}SCSS
$custom: #504fda; $custom-light: #9081e7; $custom-dark: #000000;
JSON
{
"hex": "#504fda",
"rgb": {
"r": 80,
"g": 79,
"b": 218
},
"hsl": {
"h": 240.432,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.51543,
"c": 0.20631,
"h": 276.7
},
"luminance": 0.12359
}Semantic roles & 50–950 ramp
primary
#504FDA
secondary
#DEDEA7
accent
#E840E7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84