#5757D7#5757D7

#5757D7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.1% C 0.191 H 277.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5757D7
RGBrgb(87, 87, 215)
HSLhsl(240, 62%, 59%)
HSVhsv(240, 60%, 84%)
CMYKcmyk(59.5%, 59.5%, 0%, 15.7%)
CIE-LABlab(43.87, 37.35, -65.95)
CIE-LCHlch(43.87, 75.79, 299.52°)
OKLaboklab(53.13% 0.0256 -0.1896)
OKLCHoklch(53.13% 0.191 277.7)
XYZxyz(19.6005, 13.7475, 65.8975)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757D7 #D7D757
analogous
#5797D7 #5757D7 #9757D7
triadic
#5757D7 #D75757 #57D757
tetradic
#5757D7 #D75797 #D7D757 #57D797
square
#5757D7 #D75797 #D7D757 #57D797
split-complementary
#5757D7 #D79757 #97D757
monochromatic
#232391 #2E2EC2 #5757D7 #8888E3 #BABAEF

Accessibility & contrast

On white

5.60
#5757D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5757D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757D7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757D7#FFFFFF#000000##FFFFFF
##5757D71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5757d7;
/* rgb */ color: rgb(87, 87, 215);
/* oklch */ color: oklch(53.1% 0.191 277.7);
Tailwind
colors: {
  custom: {
    50: '#9286e4',
    500: '#5757d7',
    950: '#000000',
  },
}
SCSS
$custom: #5757d7;
$custom-light: #9286e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5757d7",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53126,
    "c": 0.1913,
    "h": 277.7
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#5757D7
secondary
#DEDEAC
accent
#E543E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5757D7

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

Preview Lab → · Contrast checker → · Palette generator →

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