#5857F6#5857F6

#5857F6 is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.7% C 0.230 H 276.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5857F6
RGBrgb(88, 87, 246)
HSLhsl(240, 90%, 65%)
HSVhsv(240, 65%, 96%)
CMYKcmyk(64.2%, 64.6%, 0%, 3.5%)
CIE-LABlab(46.37, 47.47, -79.40)
CIE-LCHlch(46.37, 92.51, 300.87°)
OKLaboklab(55.73% 0.0248 -0.229)
OKLCHoklch(55.73% 0.23 276.2)
XYZxyz(24.0618, 15.5429, 88.9030)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857F6 #F5F657
analogous
#57A6F6 #5857F6 #A757F6
triadic
#5857F6 #F65857 #57F658
tetradic
#5857F6 #F657A6 #F5F657 #57F6A7
square
#5857F6 #F657A6 #F5F657 #57F6A7
split-complementary
#5857F6 #F6A757 #A6F657
monochromatic
#0C0BC8 #1E1DF3 #5857F6 #9291F9 #CBCBFC

Accessibility & contrast

On white

5.11
#5857F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5857F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857F6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857F6#FFFFFF#000000##FFFFFF
##5857F61.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FB
Deuteranopia (green-blind)
#0067F3
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5857f6;
/* rgb */ color: rgb(88, 87, 246);
/* oklch */ color: oklch(55.7% 0.230 276.2);
Tailwind
colors: {
  custom: {
    50: '#9887fa',
    500: '#5857f6',
    950: '#000000',
  },
}
SCSS
$custom: #5857f6;
$custom-light: #9887fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5857f6",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 240.377,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.55731,
    "c": 0.23037,
    "h": 276.2
  },
  "luminance": 0.15545
}

Semantic roles & 50–950 ramp

primary
#5857F6
secondary
#EFEFBA
accent
#E600E4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5857F6

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

Preview Lab → · Contrast checker → · Palette generator →

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