#5757E6#5757E6

#5757E6 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.3% C 0.211 H 276.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5757E6
RGBrgb(87, 87, 230)
HSLhsl(240, 74%, 62%)
HSVhsv(240, 62%, 90%)
CMYKcmyk(62.2%, 62.2%, 0%, 9.8%)
CIE-LABlab(45.02, 42.20, -72.61)
CIE-LCHlch(45.02, 83.98, 300.16°)
OKLaboklab(54.33% 0.0249 -0.2091)
OKLCHoklch(54.33% 0.211 276.8)
XYZxyz(21.6170, 14.5541, 76.5176)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757E6 #E6E657
analogous
#579FE6 #5757E6 #9F57E6
triadic
#5757E6 #E65757 #57E657
tetradic
#5757E6 #E6579F #E6E657 #57E69F
square
#5757E6 #E6579F #E6E657 #57E69F
split-complementary
#5757E6 #E69F57 #9FE657
monochromatic
#1919A9 #2222DE #5757E6 #8C8CEE #C2C2F6

Accessibility & contrast

On white

5.37
#5757E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5757E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757E6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757E6#FFFFFF#000000##FFFFFF
##5757E61.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5757e6;
/* rgb */ color: rgb(87, 87, 230);
/* oklch */ color: oklch(54.3% 0.211 276.8);
Tailwind
colors: {
  custom: {
    50: '#9587ef',
    500: '#5757e6',
    950: '#000000',
  },
}
SCSS
$custom: #5757e6;
$custom-light: #9587ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5757e6",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 230
  },
  "hsl": {
    "h": 240,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.21062,
    "h": 276.8
  },
  "luminance": 0.14556
}

Semantic roles & 50–950 ramp

primary
#5757E6
secondary
#E7E7B2
accent
#D60FD6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5757E6

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

Preview Lab → · Contrast checker → · Palette generator →

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