#5857F4#5857F4

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

Color values

HEX#5857F4
RGBrgb(88, 87, 244)
HSLhsl(240, 88%, 65%)
HSVhsv(240, 64%, 96%)
CMYKcmyk(63.9%, 64.3%, 0%, 4.3%)
CIE-LABlab(46.21, 46.83, -78.55)
CIE-LCHlch(46.21, 91.45, 300.80°)
OKLaboklab(55.56% 0.025 -0.2265)
OKLCHoklch(55.56% 0.228 276.3)
XYZxyz(23.7565, 15.4207, 87.2950)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857F4 #F3F457
analogous
#57A5F4 #5857F4 #A657F4
triadic
#5857F4 #F45857 #57F458
tetradic
#5857F4 #F457A5 #F3F457 #57F4A6
square
#5857F4 #F457A5 #F3F457 #57F4A6
split-complementary
#5857F4 #F4A657 #A5F457
monochromatic
#0E0DC4 #1F1EF0 #5857F4 #9190F8 #CACAFC

Accessibility & contrast

On white

5.14
#5857F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5857F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857F4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857F4#FFFFFF#000000##FFFFFF
##5857F41.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F9
Deuteranopia (green-blind)
#0067F1
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5857f4;
/* rgb */ color: rgb(88, 87, 244);
/* oklch */ color: oklch(55.6% 0.228 276.3);
Tailwind
colors: {
  custom: {
    50: '#9887f9',
    500: '#5857f4',
    950: '#000000',
  },
}
SCSS
$custom: #5857f4;
$custom-light: #9887f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5857f4",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 240.382,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.22791,
    "h": 276.3
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#5857F4
secondary
#EEEEB9
accent
#E401E3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5857F4

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

Preview Lab → · Contrast checker → · Palette generator →

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