#5857CB#5857CB

#5857CB is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.175 H 278.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5857CB
RGBrgb(88, 87, 203)
HSLhsl(241, 53%, 57%)
HSVhsv(241, 57%, 80%)
CMYKcmyk(56.7%, 57.1%, 0%, 20.4%)
CIE-LABlab(43.07, 33.64, -60.36)
CIE-LCHlch(43.07, 69.10, 299.14°)
OKLaboklab(52.28% 0.0269 -0.1731)
OKLCHoklch(52.28% 0.175 278.8)
XYZxyz(18.2088, 13.2017, 58.0770)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857CB #CACB57
analogous
#5790CB #5857CB #9257CB
triadic
#5857CB #CB5857 #57CB58
tetradic
#5857CB #CB5790 #CACB57 #57CB92
square
#5857CB #CB5790 #CACB57 #57CB92
split-complementary
#5857CB #CB9257 #90CB57
monochromatic
#282880 #3736AF #5857CB #8686D9 #B5B4E8

Accessibility & contrast

On white

5.77
#5857CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5857CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857CB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857CB#FFFFFF#000000##FFFFFF
##5857CB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#177288
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5857cb;
/* rgb */ color: rgb(88, 87, 203);
/* oklch */ color: oklch(52.3% 0.175 278.8);
Tailwind
colors: {
  custom: {
    50: '#9186dc',
    500: '#5857cb',
    950: '#000000',
  },
}
SCSS
$custom: #5857cb;
$custom-light: #9186dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5857cb",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 240.517,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52275,
    "c": 0.17519,
    "h": 278.8
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#5857CB
secondary
#D6D7A7
accent
#DC4CDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5857CB

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

Preview Lab → · Contrast checker → · Palette generator →

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