#5857BB#5857BB

#5857BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.153 H 279.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5857BB
RGBrgb(88, 87, 187)
HSLhsl(241, 42%, 54%)
HSVhsv(241, 53%, 73%)
CMYKcmyk(52.9%, 53.5%, 0%, 26.7%)
CIE-LABlab(41.97, 28.50, -52.85)
CIE-LCHlch(41.97, 60.05, 298.34°)
OKLaboklab(51.11% 0.0265 -0.151)
OKLCHoklch(51.11% 0.153 279.9)
XYZxyz(16.3996, 12.4780, 48.5484)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5857BB #BABB57
analogous
#5788BB #5857BB #8A57BB
triadic
#5857BB #BB5857 #57BB58
tetradic
#5857BB #BB5788 #BABB57 #57BB8A
square
#5857BB #BB5788 #BABB57 #57BB8A
split-complementary
#5857BB #BB8A57 #88BB57
monochromatic
#2C2C6C #3E3D97 #5857BB #8383CD #AFAEDE

Accessibility & contrast

On white

6.01
#5857BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5857BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5857BB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5857BB#FFFFFF#000000##FFFFFF
##5857BB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#0F5FB9
Tritanopia (blue-blind)
#2D6D80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5857bb;
/* rgb */ color: rgb(88, 87, 187);
/* oklch */ color: oklch(51.1% 0.153 279.9);
Tailwind
colors: {
  custom: {
    50: '#8f86d0',
    500: '#5857bb',
    950: '#000000',
  },
}
SCSS
$custom: #5857bb;
$custom-light: #8f86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5857bb",
  "rgb": {
    "r": 88,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 240.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.15332,
    "h": 279.9
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#5857BB
secondary
#CCCCA2
accent
#D256D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5857BB

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

Preview Lab → · Contrast checker → · Palette generator →

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