#5E57CD#5E57CD

#5E57CD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.9% C 0.177 H 281.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5E57CD
RGBrgb(94, 87, 205)
HSLhsl(244, 54%, 57%)
HSVhsv(244, 58%, 80%)
CMYKcmyk(54.1%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.66, 35.41, -60.53)
CIE-LCHlch(43.66, 70.13, 300.33°)
OKLaboklab(52.87% 0.0342 -0.1734)
OKLCHoklch(52.87% 0.177 281.1)
XYZxyz(19.0403, 13.6027, 59.3680)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E57CD #C6CD57
analogous
#578BCD #5E57CD #9957CD
triadic
#5E57CD #CD5E57 #57CD5E
tetradic
#5E57CD #CD578B #C6CD57 #57CD99
square
#5E57CD #CD578B #C6CD57 #57CD99
split-complementary
#5E57CD #CD9957 #8BCD57
monochromatic
#2C2783 #3C35B2 #5E57CD #8B86DB #B8B5E9

Accessibility & contrast

On white

5.64
#5E57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5E57CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E57CD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E57CD#FFFFFF#000000##FFFFFF
##5E57CD1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#2B7389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e57cd;
/* rgb */ color: rgb(94, 87, 205);
/* oklch */ color: oklch(52.9% 0.177 281.1);
Tailwind
colors: {
  custom: {
    50: '#9586dd',
    500: '#5e57cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e57cd;
$custom-light: #9586dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e57cd",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 243.559,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.17678,
    "h": 281.1
  },
  "luminance": 0.13604
}

Semantic roles & 50–950 ramp

primary
#5E57CD
secondary
#D5D8A8
accent
#DD4AD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5E57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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