#506CE0#506CE0
#506CE0 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.2% C 0.179 H 269.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #506CE0 |
|---|---|
| RGB | rgb(80, 108, 224) |
| HSL | hsl(228, 70%, 60%) |
| HSV | hsv(228, 64%, 88%) |
| CMYK | cmyk(64.3%, 51.8%, 0%, 12.2%) |
| CIE-LAB | lab(49.27, 26.24, -62.34) |
| CIE-LCH | lch(49.27, 67.64, 292.83°) |
| OKLab | oklab(57.24% -0.0008 -0.1789) |
| OKLCH | oklch(57.24% 0.179 269.7) |
| XYZ | xyz(22.1208, 17.8104, 72.7786) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 1.83
Royal Blue
#4169E1
ΔE00 1.93
Bright Blue
#0165FC
ΔE00 4.76
Cerulean Blue
#056EEE
ΔE00 5.32
Azul
#1D5DEC
ΔE00 5.72
Lightish Blue
#3D7AFD
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#506CE0 #E0C450
analogous
#50B4E0 #506CE0 #7C50E0
triadic
#506CE0 #E0506C #6CE050
tetradic
#506CE0 #E050B4 #E0C450 #50E07C
square
#506CE0 #E050B4 #E0C450 #50E07C
split-complementary
#506CE0 #E07C50 #B4E050
monochromatic
#1B349A #2546CE #506CE0 #8498E9 #B8C3F2
Accessibility & contrast
On white
4.60
#506CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#506CE0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #506CE0
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##506CE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##506CE0 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#247CE4
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#00879C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #506ce0; /* rgb */ color: rgb(80, 108, 224); /* oklch */ color: oklch(57.2% 0.179 269.7);
Tailwind
colors: {
custom: {
50: '#8f95ea',
500: '#506ce0',
950: '#000000',
},
}SCSS
$custom: #506ce0; $custom-light: #8f95ea; $custom-dark: #000000;
JSON
{
"hex": "#506ce0",
"rgb": {
"r": 80,
"g": 108,
"b": 224
},
"hsl": {
"h": 228.333,
"s": 69.903,
"l": 59.608
},
"oklch": {
"l": 0.57244,
"c": 0.17892,
"h": 269.7
},
"luminance": 0.17812
}Semantic roles & 50–950 ramp
primary
#506CE0
secondary
#E2D7AA
accent
#CA3BED
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84