#504ABC#504ABC
#504ABC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.173 H 280.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #504ABC |
|---|---|
| RGB | rgb(80, 74, 188) |
| HSL | hsl(243, 46%, 51%) |
| HSV | hsv(243, 61%, 74%) |
| CMYK | cmyk(57.4%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(38.26, 35.32, -59.47) |
| CIE-LCH | lch(38.26, 69.16, 300.71°) |
| OKLab | oklab(48.22% 0.0302 -0.1708) |
| OKLCH | oklch(48.22% 0.173 280) |
| XYZ | xyz(14.8313, 10.2329, 48.7608) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.49
Blue With A Hint Of Purple
#533CC6
ΔE00 4.12
Bluey Purple
#6241C7
ΔE00 4.33
Iris
#6258C4
ΔE00 4.90
Blurple
#5539CC
ΔE00 5.03
Blue Blue
#2242C7
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504ABC #B6BC4A
analogous
#4A7DBC #504ABC #894ABC
triadic
#504ABC #BC504A #4ABC50
tetradic
#504ABC #BC4A7D #B6BC4A #4ABC89
square
#504ABC #BC4A7D #B6BC4A #4ABC89
split-complementary
#504ABC #BC894A #7DBC4A
monochromatic
#292666 #3B3693 #504ABC #7B77CD #A6A3DD
Accessibility & contrast
On white
6.89
#504ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#504ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504ABC
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504ABC | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#11667C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #504abc; /* rgb */ color: rgb(80, 74, 188); /* oklch */ color: oklch(48.2% 0.173 280.0);
Tailwind
colors: {
custom: {
50: '#8b7dd1',
500: '#504abc',
950: '#000000',
},
}SCSS
$custom: #504abc; $custom-light: #8b7dd1; $custom-dark: #000000;
JSON
{
"hex": "#504abc",
"rgb": {
"r": 80,
"g": 74,
"b": 188
},
"hsl": {
"h": 243.158,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.48224,
"c": 0.17345,
"h": 280
},
"luminance": 0.10234
}Semantic roles & 50–950 ramp
primary
#504ABC
secondary
#C7CA98
accent
#D652CF
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82