#5857CD#5857CD

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

Color values

HEX#5857CD
RGBrgb(88, 87, 205)
HSLhsl(241, 54%, 57%)
HSVhsv(241, 58%, 80%)
CMYKcmyk(57.1%, 57.6%, 0%, 19.6%)
CIE-LABlab(43.21, 34.29, -61.28)
CIE-LCHlch(43.21, 70.22, 299.23°)
OKLaboklab(52.43% 0.0269 -0.1758)
OKLCHoklch(52.43% 0.178 278.7)
XYZxyz(18.4486, 13.2976, 59.3403)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857CD #CCCD57
analogous
#5791CD #5857CD #9357CD
triadic
#5857CD #CD5857 #57CD58
tetradic
#5857CD #CD5791 #CCCD57 #57CD93
square
#5857CD #CD5791 #CCCD57 #57CD93
split-complementary
#5857CD #CD9357 #91CD57
monochromatic
#282783 #3635B2 #5857CD #8786DB #B6B5E9

Accessibility & contrast

On white

5.74
#5857CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5857CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857CD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857CD#FFFFFF#000000##FFFFFF
##5857CD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#127389
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5857cd;
/* rgb */ color: rgb(88, 87, 205);
/* oklch */ color: oklch(52.4% 0.178 278.7);
Tailwind
colors: {
  custom: {
    50: '#9186dd',
    500: '#5857cd',
    950: '#000000',
  },
}
SCSS
$custom: #5857cd;
$custom-light: #9186dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5857cd",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 240.508,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.17787,
    "h": 278.7
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#5857CD
secondary
#D7D8A8
accent
#DD4ADC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5857CD

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

Preview Lab → · Contrast checker → · Palette generator →

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