#5E57FA#5E57FA

#5E57FA is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.5% C 0.234 H 277.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5E57FA
RGBrgb(94, 87, 250)
HSLhsl(243, 94%, 66%)
HSVhsv(243, 65%, 98%)
CMYKcmyk(62.4%, 65.2%, 0%, 2%)
CIE-LABlab(47.10, 49.54, -80.42)
CIE-LCHlch(47.10, 94.45, 301.63°)
OKLaboklab(56.47% 0.0314 -0.2319)
OKLCHoklch(56.47% 0.234 277.7)
XYZxyz(25.2740, 16.0962, 92.1989)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57FA #F3FA57
analogous
#57A1FA #5E57FA #AF57FA
triadic
#5E57FA #FA5E57 #57FA5E
tetradic
#5E57FA #FA57A1 #F3FA57 #57FAAF
square
#5E57FA #FA57A1 #F3FA57 #57FAAF
split-complementary
#5E57FA #FAAF57 #A1FA57
monochromatic
#0F06D0 #251CF8 #5E57FA #9792FC #D0CEFE

Accessibility & contrast

On white

4.98
#5E57FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5E57FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57FA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57FA#FFFFFF#000000##FFFFFF
##5E57FA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#0069F7
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e57fa;
/* rgb */ color: rgb(94, 87, 250);
/* oklch */ color: oklch(56.5% 0.234 277.7);
Tailwind
colors: {
  custom: {
    50: '#9c87fd',
    500: '#5e57fa',
    950: '#000000',
  },
}
SCSS
$custom: #5e57fa;
$custom-light: #9c87fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57fa",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 242.577,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.23399,
    "h": 277.7
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#5E57FA
secondary
#EFF1BC
accent
#E600DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5E57FA

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

Preview Lab → · Contrast checker → · Palette generator →

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