#506EE5#506EE5

#506EE5 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.0% C 0.183 H 269.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#506EE5
RGBrgb(80, 110, 229)
HSLhsl(228, 74%, 61%)
HSVhsv(228, 65%, 90%)
CMYKcmyk(65.1%, 52%, 0%, 10.2%)
CIE-LABlab(50.11, 26.71, -63.79)
CIE-LCHlch(50.11, 69.16, 292.72°)
OKLaboklab(57.99% -0.0022 -0.1832)
OKLCHoklch(57.99% 0.183 269.3)
XYZxyz(23.0222, 18.5124, 76.4735)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506EE5 #E5C750
analogous
#50B9E5 #506EE5 #7C50E5
triadic
#506EE5 #E5506E #6EE550
tetradic
#506EE5 #E550B9 #E5C750 #50E57C
square
#506EE5 #E550B9 #E5C750 #50E57C
split-complementary
#506EE5 #E57C50 #B9E550
monochromatic
#1834A2 #2045D8 #506EE5 #859AED #BBC6F5

Accessibility & contrast

On white

4.47
#506EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#506EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506EE5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506EE5#FFFFFF#000000##000000
##506EE51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#227EE9
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#008A9F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #506ee5;
/* rgb */ color: rgb(80, 110, 229);
/* oklch */ color: oklch(58.0% 0.183 269.3);
Tailwind
colors: {
  custom: {
    50: '#9097ee',
    500: '#506ee5',
    950: '#000000',
  },
}
SCSS
$custom: #506ee5;
$custom-light: #9097ee;
$custom-dark: #000000;
JSON
{
  "hex": "#506ee5",
  "rgb": {
    "r": 80,
    "g": 110,
    "b": 229
  },
  "hsl": {
    "h": 227.919,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.18317,
    "h": 269.3
  },
  "luminance": 0.18514
}

Semantic roles & 50–950 ramp

primary
#506EE5
secondary
#E5D9AC
accent
#AE0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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