#504CC2#504CC2
#504CC2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.179 H 279.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #504CC2 |
|---|---|
| RGB | rgb(80, 76, 194) |
| HSL | hsl(242, 49%, 53%) |
| HSV | hsv(242, 61%, 76%) |
| CMYK | cmyk(58.8%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(39.19, 36.04, -61.46) |
| CIE-LCH | lch(39.19, 71.25, 300.39°) |
| OKLab | oklab(49.05% 0.0281 -0.1766) |
| OKLCH | oklch(49.05% 0.179 279) |
| XYZ | xyz(15.6272, 10.7683, 52.2835) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.40
Iris
#6258C4
ΔE00 4.33
Blue With A Hint Of Purple
#533CC6
ΔE00 4.46
Bluey Purple
#6241C7
ΔE00 4.47
Warm Blue
#4B57DB
ΔE00 4.85
Blue Blue
#2242C7
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504CC2 #BEC24C
analogous
#4C83C2 #504CC2 #8B4CC2
triadic
#504CC2 #C2504C #4CC250
tetradic
#504CC2 #C24C83 #BEC24C #4CC28B
square
#504CC2 #C24C83 #BEC24C #4CC28B
split-complementary
#504CC2 #C28B4C #83C24C
monochromatic
#28266E #39359C #504CC2 #7D7AD2 #A9A7E1
Accessibility & contrast
On white
6.66
#504CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#504CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504CC2
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504CC2 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #504cc2; /* rgb */ color: rgb(80, 76, 194); /* oklch */ color: oklch(49.1% 0.179 279.0);
Tailwind
colors: {
custom: {
50: '#8c7ed5',
500: '#504cc2',
950: '#000000',
},
}SCSS
$custom: #504cc2; $custom-light: #8c7ed5; $custom-dark: #000000;
JSON
{
"hex": "#504cc2",
"rgb": {
"r": 80,
"g": 76,
"b": 194
},
"hsl": {
"h": 242.034,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.49052,
"c": 0.17886,
"h": 279
},
"luminance": 0.10769
}Semantic roles & 50–950 ramp
primary
#504CC2
secondary
#CDCE9B
accent
#D94FD4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83