#5857CC#5857CC

#5857CC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.177 H 278.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5857CC
RGBrgb(88, 87, 204)
HSLhsl(241, 53%, 57%)
HSVhsv(241, 57%, 80%)
CMYKcmyk(56.9%, 57.4%, 0%, 20%)
CIE-LABlab(43.14, 33.97, -60.82)
CIE-LCHlch(43.14, 69.66, 299.18°)
OKLaboklab(52.35% 0.0269 -0.1745)
OKLCHoklch(52.35% 0.177 278.8)
XYZxyz(18.3283, 13.2495, 58.7066)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857CC #CBCC57
analogous
#5791CC #5857CC #9357CC
triadic
#5857CC #CC5857 #57CC58
tetradic
#5857CC #CC5791 #CBCC57 #57CC93
square
#5857CC #CC5791 #CBCC57 #57CC93
split-complementary
#5857CC #CC9357 #91CC57
monochromatic
#282781 #3736B0 #5857CC #8786DA #B5B5E9

Accessibility & contrast

On white

5.75
#5857CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5857CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857CC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857CC#FFFFFF#000000##FFFFFF
##5857CC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#157389
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5857cc;
/* rgb */ color: rgb(88, 87, 204);
/* oklch */ color: oklch(52.4% 0.177 278.8);
Tailwind
colors: {
  custom: {
    50: '#9186dc',
    500: '#5857cc',
    950: '#000000',
  },
}
SCSS
$custom: #5857cc;
$custom-light: #9186dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5857cc",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 240.513,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.17653,
    "h": 278.8
  },
  "luminance": 0.13251
}

Semantic roles & 50–950 ramp

primary
#5857CC
secondary
#D7D7A8
accent
#DD4BDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5857CC

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

Preview Lab → · Contrast checker → · Palette generator →

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