#506EE8#506EE8
#506EE8 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.2% C 0.187 H 269.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #506EE8 |
|---|---|
| RGB | rgb(80, 110, 232) |
| HSL | hsl(228, 77%, 61%) |
| HSV | hsv(228, 66%, 91%) |
| CMYK | cmyk(65.5%, 52.6%, 0%, 9%) |
| CIE-LAB | lab(50.31, 27.74, -65.16) |
| CIE-LCH | lch(50.31, 70.82, 293.06°) |
| OKLab | oklab(58.2% -0.002 -0.1872) |
| OKLCH | oklch(58.2% 0.187 269.4) |
| XYZ | xyz(23.4447, 18.6814, 78.6986) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.28
Royal Blue
#4169E1
ΔE00 2.65
Bright Blue
#0165FC
ΔE00 4.73
Cerulean Blue
#056EEE
ΔE00 5.21
Lightish Blue
#3D7AFD
ΔE00 5.34
Cornflower
#6A79F7
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#506EE8 #E8CA50
analogous
#50BAE8 #506EE8 #7E50E8
triadic
#506EE8 #E8506E #6EE850
tetradic
#506EE8 #E850BA #E8CA50 #50E87E
square
#506EE8 #E850BA #E8CA50 #50E87E
split-complementary
#506EE8 #E87E50 #BAE850
monochromatic
#1633A8 #1D43DE #506EE8 #869BEF #BCC8F6
Accessibility & contrast
On white
4.43
#506EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#506EE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #506EE8
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##506EE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##506EE8 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B7FEC
Deuteranopia (green-blind)
#0071E6
Tritanopia (blue-blind)
#008BA0
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #506ee8; /* rgb */ color: rgb(80, 110, 232); /* oklch */ color: oklch(58.2% 0.187 269.4);
Tailwind
colors: {
custom: {
50: '#9197f0',
500: '#506ee8',
950: '#000000',
},
}SCSS
$custom: #506ee8; $custom-light: #9197f0; $custom-dark: #000000;
JSON
{
"hex": "#506ee8",
"rgb": {
"r": 80,
"g": 110,
"b": 232
},
"hsl": {
"h": 228.158,
"s": 76.768,
"l": 61.176
},
"oklch": {
"l": 0.58204,
"c": 0.18718,
"h": 269.4
},
"luminance": 0.18684
}Semantic roles & 50–950 ramp
primary
#506EE8
secondary
#E6DBAD
accent
#B10DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85