#5857C8#5857C8

#5857C8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.171 H 279.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5857C8
RGBrgb(88, 87, 200)
HSLhsl(241, 51%, 56%)
HSVhsv(241, 57%, 78%)
CMYKcmyk(56%, 56.5%, 0%, 21.6%)
CIE-LABlab(42.85, 32.68, -58.97)
CIE-LCHlch(42.85, 67.42, 298.99°)
OKLaboklab(52.05% 0.0269 -0.169)
OKLCHoklch(52.05% 0.171 279)
XYZxyz(17.8547, 13.0600, 56.2124)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857C8 #C7C857
analogous
#578FC8 #5857C8 #9157C8
triadic
#5857C8 #C85857 #57C858
tetradic
#5857C8 #C8578F #C7C857 #57C891
square
#5857C8 #C8578F #C7C857 #57C891
split-complementary
#5857C8 #C89157 #8FC857
monochromatic
#29297C #3938AA #5857C8 #8685D7 #B4B3E6

Accessibility & contrast

On white

5.81
#5857C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5857C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857C8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857C8#FFFFFF#000000##FFFFFF
##5857C81.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#1D7187
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5857c8;
/* rgb */ color: rgb(88, 87, 200);
/* oklch */ color: oklch(52.1% 0.171 279.0);
Tailwind
colors: {
  custom: {
    50: '#9186d9',
    500: '#5857c8',
    950: '#000000',
  },
}
SCSS
$custom: #5857c8;
$custom-light: #9186d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5857c8",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 240.531,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.17115,
    "h": 279
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#5857C8
secondary
#D4D5A6
accent
#DA4ED9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5857C8

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

Preview Lab → · Contrast checker → · Palette generator →

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