#5D57E6#5D57E6

#5D57E6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.7% C 0.209 H 278.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5D57E6
RGBrgb(93, 87, 230)
HSLhsl(243, 74%, 62%)
HSVhsv(243, 62%, 90%)
CMYKcmyk(59.6%, 62.2%, 0%, 9.8%)
CIE-LABlab(45.44, 43.12, -71.91)
CIE-LCHlch(45.44, 83.85, 300.95°)
OKLaboklab(54.74% 0.032 -0.2069)
OKLCHoklch(54.74% 0.209 278.8)
XYZxyz(22.2008, 14.8551, 76.5450)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57E6 #E0E657
analogous
#5799E6 #5D57E6 #A457E6
triadic
#5D57E6 #E65D57 #57E65D
tetradic
#5D57E6 #E65799 #E0E657 #57E6A4
square
#5D57E6 #E65799 #E0E657 #57E6A4
split-complementary
#5D57E6 #E6A457 #99E657
monochromatic
#1F19A9 #2A22DE #5D57E6 #908CEE #C4C2F6

Accessibility & contrast

On white

5.29
#5D57E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5D57E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57E6
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57E6#FFFFFF#000000##FFFFFF
##5D57E61.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d57e6;
/* rgb */ color: rgb(93, 87, 230);
/* oklch */ color: oklch(54.7% 0.209 278.8);
Tailwind
colors: {
  custom: {
    50: '#9887ef',
    500: '#5d57e6',
    950: '#000000',
  },
}
SCSS
$custom: #5d57e6;
$custom-light: #9887ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57e6",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 242.517,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54743,
    "c": 0.20939,
    "h": 278.8
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#5D57E6
secondary
#E4E7B2
accent
#D60FCE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D57E6

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

Preview Lab → · Contrast checker → · Palette generator →

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