#5E57EC#5E57EC

#5E57EC is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.217 H 278.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5E57EC
RGBrgb(94, 87, 236)
HSLhsl(243, 80%, 63%)
HSVhsv(243, 63%, 93%)
CMYKcmyk(60.2%, 63.1%, 0%, 7.5%)
CIE-LABlab(45.98, 45.16, -74.41)
CIE-LCHlch(45.98, 87.05, 301.25°)
OKLaboklab(55.3% 0.0328 -0.2142)
OKLCHoklch(55.3% 0.217 278.7)
XYZxyz(23.1598, 15.2505, 81.0638)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57EC #E5EC57
analogous
#579AEC #5E57EC #A857EC
triadic
#5E57EC #EC5E57 #57EC5E
tetradic
#5E57EC #EC579A #E5EC57 #57ECA8
square
#5E57EC #EC579A #E5EC57 #57ECA8
split-complementary
#5E57EC #ECA857 #9AEC57
monochromatic
#1C14B4 #2920E6 #5E57EC #938EF2 #C7C5F8

Accessibility & contrast

On white

5.18
#5E57EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5E57EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57EC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57EC#FFFFFF#000000##FFFFFF
##5E57EC1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e57ec;
/* rgb */ color: rgb(94, 87, 236);
/* oklch */ color: oklch(55.3% 0.217 278.7);
Tailwind
colors: {
  custom: {
    50: '#9987f3',
    500: '#5e57ec',
    950: '#000000',
  },
}
SCSS
$custom: #5e57ec;
$custom-light: #9987f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57ec",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 242.819,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55301,
    "c": 0.21674,
    "h": 278.7
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#5E57EC
secondary
#E7EAB5
accent
#DC0AD2
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E57EC

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

Preview Lab → · Contrast checker → · Palette generator →

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