#5857E7#5857E7

#5857E7 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.5% C 0.212 H 277.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5857E7
RGBrgb(88, 87, 231)
HSLhsl(240, 75%, 62%)
HSVhsv(240, 62%, 91%)
CMYKcmyk(61.9%, 62.3%, 0%, 9.4%)
CIE-LABlab(45.16, 42.67, -72.94)
CIE-LCHlch(45.16, 84.50, 300.33°)
OKLaboklab(54.48% 0.026 -0.2101)
OKLCHoklch(54.48% 0.212 277.1)
XYZxyz(21.8518, 14.6589, 77.2637)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857E7 #E6E757
analogous
#579EE7 #5857E7 #A057E7
triadic
#5857E7 #E75857 #57E758
tetradic
#5857E7 #E7579E #E6E757 #57E7A0
square
#5857E7 #E7579E #E6E757 #57E7A0
split-complementary
#5857E7 #E7A057 #9EE757
monochromatic
#1918AB #2321DF #5857E7 #8D8DEF #C2C2F6

Accessibility & contrast

On white

5.34
#5857E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5857E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857E7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857E7#FFFFFF#000000##FFFFFF
##5857E71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5857e7;
/* rgb */ color: rgb(88, 87, 231);
/* oklch */ color: oklch(54.5% 0.212 277.1);
Tailwind
colors: {
  custom: {
    50: '#9687f0',
    500: '#5857e7',
    950: '#000000',
  },
}
SCSS
$custom: #5857e7;
$custom-light: #9687f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5857e7",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 240.417,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.21167,
    "h": 277.1
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#5857E7
secondary
#E7E7B3
accent
#D70ED6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5857E7

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

Preview Lab → · Contrast checker → · Palette generator →

#5857E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva