#5857B2#5857B2

#5857B2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.141 H 280.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5857B2
RGBrgb(88, 87, 178)
HSLhsl(241, 37%, 52%)
HSVhsv(241, 51%, 70%)
CMYKcmyk(50.6%, 51.1%, 0%, 30.2%)
CIE-LABlab(41.38, 25.64, -48.52)
CIE-LCHlch(41.38, 54.87, 297.85°)
OKLaboklab(50.48% 0.0259 -0.1383)
OKLCHoklch(50.48% 0.141 280.6)
XYZxyz(15.4661, 12.1046, 43.6323)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857B2 #B1B257
analogous
#5784B2 #5857B2 #8657B2
triadic
#5857B2 #B25857 #57B258
tetradic
#5857B2 #B25784 #B1B257 #57B286
square
#5857B2 #B25784 #B1B257 #57B286
split-complementary
#5857B2 #B28657 #84B257
monochromatic
#2D2D62 #41408C #5857B2 #8281C5 #ABABD8

Accessibility & contrast

On white

6.14
#5857B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5857B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857B2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857B2#FFFFFF#000000##FFFFFF
##5857B21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#225EB0
Tritanopia (blue-blind)
#356B7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5857b2;
/* rgb */ color: rgb(88, 87, 178);
/* oklch */ color: oklch(50.5% 0.141 280.6);
Tailwind
colors: {
  custom: {
    50: '#8d86ca',
    500: '#5857b2',
    950: '#000000',
  },
}
SCSS
$custom: #5857b2;
$custom-light: #8d86ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5857b2",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 240.659,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.14067,
    "h": 280.6
  },
  "luminance": 0.12105
}

Semantic roles & 50–950 ramp

primary
#5857B2
secondary
#C6C69E
accent
#CD5BCC
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5857B2

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

Preview Lab → · Contrast checker → · Palette generator →

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