#506EE4#506EE4

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

Color values

HEX#506EE4
RGBrgb(80, 110, 228)
HSLhsl(228, 73%, 60%)
HSVhsv(228, 65%, 89%)
CMYKcmyk(64.9%, 51.8%, 0%, 10.6%)
CIE-LABlab(50.05, 26.37, -63.34)
CIE-LCHlch(50.05, 68.61, 292.60°)
OKLaboklab(57.92% -0.0023 -0.1818)
OKLCHoklch(57.92% 0.182 269.3)
XYZxyz(22.8830, 18.4567, 75.7403)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506EE4 #E4C650
analogous
#50B8E4 #506EE4 #7C50E4
triadic
#506EE4 #E4506E #6EE450
tetradic
#506EE4 #E450B8 #E4C650 #50E47C
square
#506EE4 #E450B8 #E4C650 #50E47C
split-complementary
#506EE4 #E47C50 #B8E450
monochromatic
#1934A1 #2146D6 #506EE4 #859AEC #BAC6F4

Accessibility & contrast

On white

4.48
#506EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#506EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #506EE4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506EE4#FFFFFF#000000##000000
##506EE41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE8
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #506ee4;
/* rgb */ color: rgb(80, 110, 228);
/* oklch */ color: oklch(57.9% 0.182 269.3);
Tailwind
colors: {
  custom: {
    50: '#9097ed',
    500: '#506ee4',
    950: '#000000',
  },
}
SCSS
$custom: #506ee4;
$custom-light: #9097ed;
$custom-dark: #000000;
JSON
{
  "hex": "#506ee4",
  "rgb": {
    "r": 80,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 227.838,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57918,
    "c": 0.18183,
    "h": 269.3
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#506EE4
secondary
#E4D9AC
accent
#AD10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #506EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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