#506CE4#506CE4
#506CE4 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.5% C 0.184 H 269.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #506CE4 |
|---|---|
| RGB | rgb(80, 108, 228) |
| HSL | hsl(229, 73%, 60%) |
| HSV | hsv(229, 65%, 89%) |
| CMYK | cmyk(64.9%, 52.6%, 0%, 10.6%) |
| CIE-LAB | lab(49.53, 27.61, -64.17) |
| CIE-LCH | lch(49.53, 69.86, 293.28°) |
| OKLab | oklab(57.53% -0.0005 -0.1843) |
| OKLCH | oklch(57.53% 0.184 269.8) |
| XYZ | xyz(22.6697, 18.0300, 75.6692) |
| Luminance | 0.1803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.12
Cornflower Blue
#5170D7
ΔE00 2.19
Bright Blue
#0165FC
ΔE00 4.61
Cerulean Blue
#056EEE
ΔE00 5.36
Azul
#1D5DEC
ΔE00 5.74
Cornflower
#6A79F7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#506CE4 #E4C850
analogous
#50B6E4 #506CE4 #7E50E4
triadic
#506CE4 #E4506C #6CE450
tetradic
#506CE4 #E450B6 #E4C850 #50E47E
square
#506CE4 #E450B6 #E4C850 #50E47E
split-complementary
#506CE4 #E47E50 #B6E450
monochromatic
#1933A1 #2143D6 #506CE4 #8599EC #BAC5F4
Accessibility & contrast
On white
4.56
#506CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#506CE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #506CE4
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##506CE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##506CE4 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B7DE8
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #506ce4; /* rgb */ color: rgb(80, 108, 228); /* oklch */ color: oklch(57.5% 0.184 269.8);
Tailwind
colors: {
custom: {
50: '#9095ed',
500: '#506ce4',
950: '#000000',
},
}SCSS
$custom: #506ce4; $custom-light: #9095ed; $custom-dark: #000000;
JSON
{
"hex": "#506ce4",
"rgb": {
"r": 80,
"g": 108,
"b": 228
},
"hsl": {
"h": 228.649,
"s": 73.267,
"l": 60.392
},
"oklch": {
"l": 0.57531,
"c": 0.18429,
"h": 269.8
},
"luminance": 0.18032
}Semantic roles & 50–950 ramp
primary
#506CE4
secondary
#E4D9AC
accent
#B010D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84