#5757C4#5757C4

#5757C4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.166 H 278.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5757C4
RGBrgb(87, 87, 196)
HSLhsl(240, 48%, 55%)
HSVhsv(240, 56%, 77%)
CMYKcmyk(55.6%, 55.6%, 0%, 23.1%)
CIE-LABlab(42.50, 31.20, -57.23)
CIE-LCHlch(42.50, 65.18, 298.60°)
OKLaboklab(51.68% 0.0256 -0.1639)
OKLCHoklch(51.68% 0.166 278.9)
XYZxyz(17.2993, 12.8270, 53.7781)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757C4 #C4C457
analogous
#578DC4 #5757C4 #8D57C4
triadic
#5757C4 #C45757 #57C457
tetradic
#5757C4 #C4578D #C4C457 #57C48D
square
#5757C4 #C4578D #C4C457 #57C48D
split-complementary
#5757C4 #C48D57 #8DC457
monochromatic
#2A2A77 #3A3AA4 #5757C4 #8484D4 #B2B2E4

Accessibility & contrast

On white

5.89
#5757C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5757C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757C4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757C4#FFFFFF#000000##FFFFFF
##5757C41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0669C8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#1F7085
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5757c4;
/* rgb */ color: rgb(87, 87, 196);
/* oklch */ color: oklch(51.7% 0.166 278.9);
Tailwind
colors: {
  custom: {
    50: '#8f86d7',
    500: '#5757c4',
    950: '#000000',
  },
}
SCSS
$custom: #5757c4;
$custom-light: #8f86d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5757c4",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 196
  },
  "hsl": {
    "h": 240,
    "s": 48.018,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.16591,
    "h": 278.9
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#5757C4
secondary
#D2D2A5
accent
#D850D8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5757C4

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

Preview Lab → · Contrast checker → · Palette generator →

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