#5E56E8#5E56E8

#5E56E8 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.213 H 279.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5E56E8
RGBrgb(94, 86, 232)
HSLhsl(243, 76%, 62%)
HSVhsv(243, 63%, 91%)
CMYKcmyk(59.5%, 62.9%, 0%, 9%)
CIE-LABlab(45.44, 44.49, -73.03)
CIE-LCHlch(45.44, 85.51, 301.35°)
OKLaboklab(54.81% 0.0339 -0.2102)
OKLCHoklch(54.81% 0.213 279.2)
XYZxyz(22.5047, 14.8598, 78.0106)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56E8 #E0E856
analogous
#5697E8 #5E56E8 #A756E8
triadic
#5E56E8 #E85E56 #56E85E
tetradic
#5E56E8 #E85697 #E0E856 #56E8A7
square
#5E56E8 #E85697 #E0E856 #56E8A7
split-complementary
#5E56E8 #E8A756 #97E856
monochromatic
#2017AC #2B20E1 #5E56E8 #918CEF #C5C2F7

Accessibility & contrast

On white

5.29
#5E56E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5E56E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56E8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56E8#FFFFFF#000000##FFFFFF
##5E56E81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e56e8;
/* rgb */ color: rgb(94, 86, 232);
/* oklch */ color: oklch(54.8% 0.213 279.2);
Tailwind
colors: {
  custom: {
    50: '#9986f0',
    500: '#5e56e8',
    950: '#000000',
  },
}
SCSS
$custom: #5e56e8;
$custom-light: #9986f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56e8",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 243.288,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54814,
    "c": 0.21291,
    "h": 279.2
  },
  "luminance": 0.14861
}

Semantic roles & 50–950 ramp

primary
#5E56E8
secondary
#E5E8B2
accent
#D80DCD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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