#5757E5#5757E5

#5757E5 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.209 H 276.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5757E5
RGBrgb(87, 87, 229)
HSLhsl(240, 73%, 62%)
HSVhsv(240, 62%, 90%)
CMYKcmyk(62%, 62%, 0%, 10.2%)
CIE-LABlab(44.94, 41.88, -72.17)
CIE-LCHlch(44.94, 83.44, 300.12°)
OKLaboklab(54.25% 0.0249 -0.2079)
OKLCHoklch(54.25% 0.209 276.8)
XYZxyz(21.4769, 14.4980, 75.7802)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757E5 #E5E557
analogous
#579EE5 #5757E5 #9E57E5
triadic
#5757E5 #E55757 #57E557
tetradic
#5757E5 #E5579E #E5E557 #57E59E
square
#5757E5 #E5579E #E5E557 #57E59E
split-complementary
#5757E5 #E59E57 #9EE557
monochromatic
#1A1AA8 #2222DD #5757E5 #8C8CED #C1C1F5

Accessibility & contrast

On white

5.38
#5757E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5757E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757E5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757E5#FFFFFF#000000##FFFFFF
##5757E51.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5757e5;
/* rgb */ color: rgb(87, 87, 229);
/* oklch */ color: oklch(54.2% 0.209 276.8);
Tailwind
colors: {
  custom: {
    50: '#9587ee',
    500: '#5757e5',
    950: '#000000',
  },
}
SCSS
$custom: #5757e5;
$custom-light: #9587ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5757e5",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.20935,
    "h": 276.8
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#5757E5
secondary
#E6E6B2
accent
#D510D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5757E5

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

Preview Lab → · Contrast checker → · Palette generator →

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