#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
RGBrgb(80, 108, 228)
HSLhsl(229, 73%, 60%)
HSVhsv(229, 65%, 89%)
CMYKcmyk(64.9%, 52.6%, 0%, 10.6%)
CIE-LABlab(49.53, 27.61, -64.17)
CIE-LCHlch(49.53, 69.86, 293.28°)
OKLaboklab(57.53% -0.0005 -0.1843)
OKLCHoklch(57.53% 0.184 269.8)
XYZxyz(22.6697, 18.0300, 75.6692)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##506CE41.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.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

Preview Lab

Preview with #506CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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