#5857BF#5857BF

#5857BF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.159 H 279.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5857BF
RGBrgb(88, 87, 191)
HSLhsl(241, 45%, 55%)
HSVhsv(241, 54%, 75%)
CMYKcmyk(53.9%, 54.5%, 0%, 25.1%)
CIE-LABlab(42.23, 29.78, -54.75)
CIE-LCHlch(42.23, 62.33, 298.55°)
OKLaboklab(51.39% 0.0267 -0.1566)
OKLCHoklch(51.39% 0.159 279.7)
XYZxyz(16.8337, 12.6516, 50.8351)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857BF #BEBF57
analogous
#578ABF #5857BF #8C57BF
triadic
#5857BF #BF5857 #57BF58
tetradic
#5857BF #BF578A #BEBF57 #57BF8C
square
#5857BF #BF578A #BEBF57 #57BF8C
split-complementary
#5857BF #BF8C57 #8ABF57
monochromatic
#2C2B71 #3D3C9D #5857BF #8483D0 #B0B0E1

Accessibility & contrast

On white

5.95
#5857BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5857BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857BF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857BF#FFFFFF#000000##FFFFFF
##5857BF1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#296F82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5857bf;
/* rgb */ color: rgb(88, 87, 191);
/* oklch */ color: oklch(51.4% 0.159 279.7);
Tailwind
colors: {
  custom: {
    50: '#8f86d3',
    500: '#5857bf',
    950: '#000000',
  },
}
SCSS
$custom: #5857bf;
$custom-light: #8f86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5857bf",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 240.577,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.15886,
    "h": 279.7
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#5857BF
secondary
#CECFA3
accent
#D553D3
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5857BF

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

Preview Lab → · Contrast checker → · Palette generator →

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