#5857B0#5857B0

#5857B0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.138 H 280.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5857B0
RGBrgb(88, 87, 176)
HSLhsl(241, 36%, 52%)
HSVhsv(241, 51%, 69%)
CMYKcmyk(50%, 50.6%, 0%, 31%)
CIE-LABlab(41.26, 25.00, -47.54)
CIE-LCHlch(41.26, 53.72, 297.74°)
OKLaboklab(50.35% 0.0257 -0.1354)
OKLCHoklch(50.35% 0.138 280.7)
XYZxyz(15.2668, 12.0249, 42.5825)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857B0 #AFB057
analogous
#5783B0 #5857B0 #8557B0
triadic
#5857B0 #B05857 #57B058
tetradic
#5857B0 #B05783 #AFB057 #57B085
square
#5857B0 #B05783 #AFB057 #57B085
split-complementary
#5857B0 #B08557 #83B057
monochromatic
#2E2D60 #414189 #5857B0 #8181C4 #ABAAD7

Accessibility & contrast

On white

6.17
#5857B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5857B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857B0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857B0#FFFFFF#000000##FFFFFF
##5857B01.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B3
Deuteranopia (green-blind)
#255EAE
Tritanopia (blue-blind)
#376A7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5857b0;
/* rgb */ color: rgb(88, 87, 176);
/* oklch */ color: oklch(50.3% 0.138 280.7);
Tailwind
colors: {
  custom: {
    50: '#8d86c8',
    500: '#5857b0',
    950: '#000000',
  },
}
SCSS
$custom: #5857b0;
$custom-light: #8d86c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5857b0",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 176
  },
  "hsl": {
    "h": 240.674,
    "s": 36.032,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.13783,
    "h": 280.7
  },
  "luminance": 0.12026
}

Semantic roles & 50–950 ramp

primary
#5857B0
secondary
#C5C59E
accent
#CC5CCB
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5857B0

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

Preview Lab → · Contrast checker → · Palette generator →

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