#5E57CA#5E57CA

#5E57CA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.173 H 281.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5E57CA
RGBrgb(94, 87, 202)
HSLhsl(244, 52%, 57%)
HSVhsv(244, 57%, 79%)
CMYKcmyk(53.5%, 56.9%, 0%, 20.8%)
CIE-LABlab(43.45, 34.47, -59.14)
CIE-LCHlch(43.45, 68.46, 300.24°)
OKLaboklab(52.65% 0.0342 -0.1694)
OKLCHoklch(52.65% 0.173 281.4)
XYZxyz(18.6817, 13.4592, 57.4791)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57CA #C3CA57
analogous
#578ACA #5E57CA #9857CA
triadic
#5E57CA #CA5E57 #57CA5E
tetradic
#5E57CA #CA578A #C3CA57 #57CA98
square
#5E57CA #CA578A #C3CA57 #57CA98
split-complementary
#5E57CA #CA9857 #8ACA57
monochromatic
#2D287F #3E37AD #5E57CA #8B86D9 #B7B4E7

Accessibility & contrast

On white

5.69
#5E57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5E57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57CA#FFFFFF#000000##FFFFFF
##5E57CA1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#2E7288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e57ca;
/* rgb */ color: rgb(94, 87, 202);
/* oklch */ color: oklch(52.6% 0.173 281.4);
Tailwind
colors: {
  custom: {
    50: '#9486db',
    500: '#5e57ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e57ca;
$custom-light: #9486db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57ca",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 243.652,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.17277,
    "h": 281.4
  },
  "luminance": 0.1346
}

Semantic roles & 50–950 ramp

primary
#5E57CA
secondary
#D3D6A7
accent
#DB4CD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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