#5D57F4#5D57F4

#5D57F4 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.227 H 277.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5D57F4
RGBrgb(93, 87, 244)
HSLhsl(242, 88%, 65%)
HSVhsv(242, 64%, 96%)
CMYKcmyk(61.9%, 64.3%, 0%, 4.3%)
CIE-LABlab(46.54, 47.53, -77.98)
CIE-LCHlch(46.54, 91.32, 301.36°)
OKLaboklab(55.89% 0.0308 -0.2247)
OKLCHoklch(55.89% 0.227 277.8)
XYZxyz(24.2463, 15.6733, 87.3179)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57F4 #EEF457
analogous
#57A0F4 #5D57F4 #AC57F4
triadic
#5D57F4 #F45D57 #57F45D
tetradic
#5D57F4 #F457A0 #EEF457 #57F4AC
square
#5D57F4 #F457A0 #EEF457 #57F4AC
split-complementary
#5D57F4 #F4AC57 #A0F457
monochromatic
#140DC4 #261EF0 #5D57F4 #9490F8 #CCCAFC

Accessibility & contrast

On white

5.08
#5D57F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5D57F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57F4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57F4#FFFFFF#000000##FFFFFF
##5D57F41.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F9
Deuteranopia (green-blind)
#0068F1
Tritanopia (blue-blind)
#007F9E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d57f4;
/* rgb */ color: rgb(93, 87, 244);
/* oklch */ color: oklch(55.9% 0.227 277.8);
Tailwind
colors: {
  custom: {
    50: '#9a87f9',
    500: '#5d57f4',
    950: '#000000',
  },
}
SCSS
$custom: #5d57f4;
$custom-light: #9a87f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57f4",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 242.293,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.55894,
    "c": 0.22685,
    "h": 277.8
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#5D57F4
secondary
#ECEEB9
accent
#E401DC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D57F4

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

Preview Lab → · Contrast checker → · Palette generator →

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