#5056E4#5056E4

#5056E4 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.5% C 0.211 H 274.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5056E4
RGBrgb(80, 86, 228)
HSLhsl(238, 73%, 60%)
HSVhsv(238, 65%, 89%)
CMYKcmyk(64.9%, 62.3%, 0%, 10.6%)
CIE-LABlab(44.18, 41.13, -72.87)
CIE-LCHlch(44.18, 83.68, 299.44°)
OKLaboklab(53.55% 0.0178 -0.2101)
OKLCHoklch(53.55% 0.211 274.8)
XYZxyz(20.6350, 13.9607, 74.9910)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5056E4 #E4DE50
analogous
#50A0E4 #5056E4 #9450E4
triadic
#5056E4 #E45056 #56E450
tetradic
#5056E4 #E450A0 #E4DE50 #50E494
square
#5056E4 #E450A0 #E4DE50 #50E494
split-complementary
#5056E4 #E49450 #A0E450
monochromatic
#191EA1 #2128D6 #5056E4 #8589EC #BABCF4

Accessibility & contrast

On white

5.54
#5056E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5056E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5056E4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5056E4#FFFFFF#000000##FFFFFF
##5056E41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5056e4;
/* rgb */ color: rgb(80, 86, 228);
/* oklch */ color: oklch(53.5% 0.211 274.8);
Tailwind
colors: {
  custom: {
    50: '#9186ee',
    500: '#5056e4',
    950: '#000000',
  },
}
SCSS
$custom: #5056e4;
$custom-light: #9186ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5056e4",
  "rgb": {
    "r": 80,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 237.568,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53546,
    "c": 0.21084,
    "h": 274.8
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#5056E4
secondary
#E4E2AC
accent
#CD10D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5056E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5056E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva