#5E56F4#5E56F4

#5E56F4 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.8% C 0.228 H 278.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5E56F4
RGBrgb(94, 86, 244)
HSLhsl(243, 88%, 65%)
HSVhsv(243, 65%, 96%)
CMYKcmyk(61.5%, 64.8%, 0%, 4.3%)
CIE-LABlab(46.40, 48.24, -78.21)
CIE-LCHlch(46.40, 91.90, 301.67°)
OKLaboklab(55.81% 0.0328 -0.2254)
OKLCHoklch(55.81% 0.228 278.3)
XYZxyz(24.2678, 15.5650, 87.2959)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56F4 #ECF456
analogous
#569DF4 #5E56F4 #AD56F4
triadic
#5E56F4 #F45E56 #56F45E
tetradic
#5E56F4 #F4569D #ECF456 #56F4AD
square
#5E56F4 #F4569D #ECF456 #56F4AD
split-complementary
#5E56F4 #F4AD56 #9DF456
monochromatic
#160DC3 #271DF0 #5E56F4 #958FF8 #CBC9FB

Accessibility & contrast

On white

5.11
#5E56F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5E56F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56F4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56F4#FFFFFF#000000##FFFFFF
##5E56F41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F9
Deuteranopia (green-blind)
#0067F1
Tritanopia (blue-blind)
#007F9E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e56f4;
/* rgb */ color: rgb(94, 86, 244);
/* oklch */ color: oklch(55.8% 0.228 278.3);
Tailwind
colors: {
  custom: {
    50: '#9b86f9',
    500: '#5e56f4',
    950: '#000000',
  },
}
SCSS
$custom: #5e56f4;
$custom-light: #9b86f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56f4",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 244
  },
  "hsl": {
    "h": 243.038,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.55807,
    "c": 0.22778,
    "h": 278.3
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#5E56F4
secondary
#EBEEB8
accent
#E401D9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #5E56F4

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

Preview Lab → · Contrast checker → · Palette generator →

#5E56F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva