#5757E4#5757E4

#5757E4 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.208 H 276.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5757E4
RGBrgb(87, 87, 228)
HSLhsl(240, 72%, 62%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(61.8%, 61.8%, 0%, 10.6%)
CIE-LABlab(44.86, 41.55, -71.73)
CIE-LCHlch(44.86, 82.90, 300.08°)
OKLaboklab(54.17% 0.025 -0.2066)
OKLCHoklch(54.17% 0.208 276.9)
XYZxyz(21.3377, 14.4424, 75.0470)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757E4 #E4E457
analogous
#579EE4 #5757E4 #9E57E4
triadic
#5757E4 #E45757 #57E457
tetradic
#5757E4 #E4579E #E4E457 #57E49E
square
#5757E4 #E4579E #E4E457 #57E49E
split-complementary
#5757E4 #E49E57 #9EE457
monochromatic
#1B1BA6 #2323DB #5757E4 #8C8CEC #C0C0F5

Accessibility & contrast

On white

5.40
#5757E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5757E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757E4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757E4#FFFFFF#000000##FFFFFF
##5757E41.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5757e4;
/* rgb */ color: rgb(87, 87, 228);
/* oklch */ color: oklch(54.2% 0.208 276.9);
Tailwind
colors: {
  custom: {
    50: '#9587ee',
    500: '#5757e4',
    950: '#000000',
  },
}
SCSS
$custom: #5757e4;
$custom-light: #9587ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5757e4",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 240,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54166,
    "c": 0.20808,
    "h": 276.9
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

primary
#5757E4
secondary
#E6E6B1
accent
#D411D4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5757E4

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

Preview Lab → · Contrast checker → · Palette generator →

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