#5757C8#5757C8

#5757C8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.171 H 278.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5757C8
RGBrgb(87, 87, 200)
HSLhsl(240, 51%, 56%)
HSVhsv(240, 57%, 78%)
CMYKcmyk(56.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(42.78, 32.49, -59.09)
CIE-LCHlch(42.78, 67.43, 298.80°)
OKLaboklab(51.98% 0.0257 -0.1694)
OKLCHoklch(51.98% 0.171 278.6)
XYZxyz(17.7607, 13.0116, 56.2080)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757C8 #C8C857
analogous
#5790C8 #5757C8 #9057C8
triadic
#5757C8 #C85757 #57C857
tetradic
#5757C8 #C85790 #C8C857 #57C890
square
#5757C8 #C85790 #C8C857 #57C890
split-complementary
#5757C8 #C89057 #90C857
monochromatic
#29297C #3838AA #5757C8 #8585D7 #B3B3E6

Accessibility & contrast

On white

5.83
#5757C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5757C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757C8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757C8#FFFFFF#000000##FFFFFF
##5757C81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#187187
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5757c8;
/* rgb */ color: rgb(87, 87, 200);
/* oklch */ color: oklch(52.0% 0.171 278.6);
Tailwind
colors: {
  custom: {
    50: '#9086d9',
    500: '#5757c8',
    950: '#000000',
  },
}
SCSS
$custom: #5757c8;
$custom-light: #9086d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5757c8",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.17135,
    "h": 278.6
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#5757C8
secondary
#D5D5A6
accent
#DA4EDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5757C8

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

Preview Lab → · Contrast checker → · Palette generator →

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