#5757D8#5757D8

#5757D8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.193 H 277.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5757D8
RGBrgb(87, 87, 216)
HSLhsl(240, 62%, 59%)
HSVhsv(240, 60%, 85%)
CMYKcmyk(59.7%, 59.7%, 0%, 15.3%)
CIE-LABlab(43.94, 37.67, -66.40)
CIE-LCHlch(43.94, 76.34, 299.57°)
OKLaboklab(53.21% 0.0255 -0.1909)
OKLCHoklch(53.21% 0.193 277.6)
XYZxyz(19.7294, 13.7990, 66.5762)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757D8 #D8D857
analogous
#5798D8 #5757D8 #9857D8
triadic
#5757D8 #D85757 #57D857
tetradic
#5757D8 #D85798 #D8D857 #57D898
square
#5757D8 #D85798 #D8D857 #57D898
split-complementary
#5757D8 #D89857 #98D857
monochromatic
#222293 #2E2EC4 #5757D8 #8989E4 #BABAEF

Accessibility & contrast

On white

5.59
#5757D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5757D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757D8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757D8#FFFFFF#000000##FFFFFF
##5757D81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5757d8;
/* rgb */ color: rgb(87, 87, 216);
/* oklch */ color: oklch(53.2% 0.193 277.6);
Tailwind
colors: {
  custom: {
    50: '#9386e5',
    500: '#5757d8',
    950: '#000000',
  },
}
SCSS
$custom: #5757d8;
$custom-light: #9386e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5757d8",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 240,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.19261,
    "h": 277.6
  },
  "luminance": 0.138
}

Semantic roles & 50–950 ramp

primary
#5757D8
secondary
#DFDFAC
accent
#E542E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5757D8

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

Preview Lab → · Contrast checker → · Palette generator →

#5757D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva