#5D57F0#5D57F0

#5D57F0 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.6% C 0.222 H 278.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5D57F0
RGBrgb(93, 87, 240)
HSLhsl(242, 84%, 64%)
HSVhsv(242, 64%, 94%)
CMYKcmyk(61.2%, 63.7%, 0%, 5.9%)
CIE-LABlab(46.22, 46.27, -76.26)
CIE-LCHlch(46.22, 89.20, 301.25°)
OKLaboklab(55.56% 0.0312 -0.2197)
OKLCHoklch(55.56% 0.222 278.1)
XYZxyz(23.6455, 15.4330, 84.1540)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57F0 #EAF057
analogous
#579EF0 #5D57F0 #AA57F0
triadic
#5D57F0 #F05D57 #57F05D
tetradic
#5D57F0 #F0579E #EAF057 #57F0AA
square
#5D57F0 #F0579E #EAF057 #57F0AA
split-complementary
#5D57F0 #F0AA57 #9EF057
monochromatic
#1711BC #271FEB #5D57F0 #938FF5 #C9C7FA

Accessibility & contrast

On white

5.14
#5D57F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5D57F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57F0
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57F0#FFFFFF#000000##FFFFFF
##5D57F01.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0067ED
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d57f0;
/* rgb */ color: rgb(93, 87, 240);
/* oklch */ color: oklch(55.6% 0.222 278.1);
Tailwind
colors: {
  custom: {
    50: '#9a87f6',
    500: '#5d57f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d57f0;
$custom-light: #9a87f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57f0",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 242.353,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.22191,
    "h": 278.1
  },
  "luminance": 0.15435
}

Semantic roles & 50–950 ramp

primary
#5D57F0
secondary
#EAECB7
accent
#E005D7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D57F0

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

Preview Lab → · Contrast checker → · Palette generator →

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