#5E57CC#5E57CC

#5E57CC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.175 H 281.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5E57CC
RGBrgb(94, 87, 204)
HSLhsl(244, 53%, 57%)
HSVhsv(244, 57%, 80%)
CMYKcmyk(53.9%, 57.4%, 0%, 20%)
CIE-LABlab(43.59, 35.10, -60.07)
CIE-LCHlch(43.59, 69.57, 300.30°)
OKLaboklab(52.8% 0.0342 -0.1721)
OKLCHoklch(52.8% 0.175 281.2)
XYZxyz(18.9200, 13.5546, 58.7344)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57CC #C5CC57
analogous
#578ACC #5E57CC #9957CC
triadic
#5E57CC #CC5E57 #57CC5E
tetradic
#5E57CC #CC578A #C5CC57 #57CC99
square
#5E57CC #CC578A #C5CC57 #57CC99
split-complementary
#5E57CC #CC9957 #8ACC57
monochromatic
#2D2781 #3D36B0 #5E57CC #8B86DA #B8B5E9

Accessibility & contrast

On white

5.66
#5E57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5E57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57CC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57CC#FFFFFF#000000##FFFFFF
##5E57CC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#2C7289
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e57cc;
/* rgb */ color: rgb(94, 87, 204);
/* oklch */ color: oklch(52.8% 0.175 281.2);
Tailwind
colors: {
  custom: {
    50: '#9486dc',
    500: '#5e57cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e57cc;
$custom-light: #9486dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57cc",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 243.59,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.17545,
    "h": 281.2
  },
  "luminance": 0.13556
}

Semantic roles & 50–950 ramp

primary
#5E57CC
secondary
#D4D7A8
accent
#DD4BD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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