#5757E7#5757E7

#5757E7 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.4% C 0.212 H 276.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5757E7
RGBrgb(87, 87, 231)
HSLhsl(240, 75%, 62%)
HSVhsv(240, 62%, 91%)
CMYKcmyk(62.3%, 62.3%, 0%, 9.4%)
CIE-LABlab(45.10, 42.52, -73.05)
CIE-LCHlch(45.10, 84.52, 300.20°)
OKLaboklab(54.41% 0.0248 -0.2104)
OKLCHoklch(54.41% 0.212 276.7)
XYZxyz(21.7578, 14.6104, 77.2593)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757E7 #E7E757
analogous
#579FE7 #5757E7 #9F57E7
triadic
#5757E7 #E75757 #57E757
tetradic
#5757E7 #E7579F #E7E757 #57E79F
square
#5757E7 #E7579F #E7E757 #57E79F
split-complementary
#5757E7 #E79F57 #9FE757
monochromatic
#1818AB #2121DF #5757E7 #8D8DEF #C2C2F6

Accessibility & contrast

On white

5.35
#5757E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5757E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757E7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757E7#FFFFFF#000000##FFFFFF
##5757E71.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5757e7;
/* rgb */ color: rgb(87, 87, 231);
/* oklch */ color: oklch(54.4% 0.212 276.7);
Tailwind
colors: {
  custom: {
    50: '#9587f0',
    500: '#5757e7',
    950: '#000000',
  },
}
SCSS
$custom: #5757e7;
$custom-light: #9587f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5757e7",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 240,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.21189,
    "h": 276.7
  },
  "luminance": 0.14612
}

Semantic roles & 50–950 ramp

primary
#5757E7
secondary
#E7E7B3
accent
#D70ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5757E7

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

Preview Lab → · Contrast checker → · Palette generator →

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