#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
RGBrgb(80, 110, 232)
HSLhsl(228, 77%, 61%)
HSVhsv(228, 66%, 91%)
CMYKcmyk(65.5%, 52.6%, 0%, 9%)
CIE-LABlab(50.31, 27.74, -65.16)
CIE-LCHlch(50.31, 70.82, 293.06°)
OKLaboklab(58.2% -0.002 -0.1872)
OKLCHoklch(58.2% 0.187 269.4)
XYZxyz(23.4447, 18.6814, 78.6986)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##506EE81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.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

Preview Lab

Preview with #506EE8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#506EE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva