#5D57E7#5D57E7

#5D57E7 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.211 H 278.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5D57E7
RGBrgb(93, 87, 231)
HSLhsl(243, 75%, 62%)
HSVhsv(243, 62%, 91%)
CMYKcmyk(59.7%, 62.3%, 0%, 9.4%)
CIE-LABlab(45.51, 43.44, -72.35)
CIE-LCHlch(45.51, 84.39, 300.98°)
OKLaboklab(54.82% 0.0319 -0.2082)
OKLCHoklch(54.82% 0.211 278.7)
XYZxyz(22.3416, 14.9114, 77.2867)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D57E7 #E1E757
analogous
#5799E7 #5D57E7 #A557E7
triadic
#5D57E7 #E75D57 #57E75D
tetradic
#5D57E7 #E75799 #E1E757 #57E7A5
square
#5D57E7 #E75799 #E1E757 #57E7A5
split-complementary
#5D57E7 #E7A557 #99E757
monochromatic
#1F18AB #2921DF #5D57E7 #918DEF #C4C2F6

Accessibility & contrast

On white

5.27
#5D57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5D57E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D57E7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D57E7#FFFFFF#000000##FFFFFF
##5D57E71.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d57e7;
/* rgb */ color: rgb(93, 87, 231);
/* oklch */ color: oklch(54.8% 0.211 278.7);
Tailwind
colors: {
  custom: {
    50: '#9887f0',
    500: '#5d57e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d57e7;
$custom-light: #9887f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d57e7",
  "rgb": {
    "r": 93,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 242.5,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54824,
    "c": 0.21065,
    "h": 278.7
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#5D57E7
secondary
#E5E7B3
accent
#D70ECF
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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