#5757E2#5757E2

#5757E2 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.206 H 277.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5757E2
RGBrgb(87, 87, 226)
HSLhsl(240, 71%, 61%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(61.5%, 61.5%, 0%, 11.4%)
CIE-LABlab(44.71, 40.91, -70.85)
CIE-LCHlch(44.71, 81.81, 300.00°)
OKLaboklab(54% 0.0251 -0.204)
OKLCHoklch(54% 0.206 277)
XYZxyz(21.0617, 14.3320, 73.5932)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757E2 #E2E257
analogous
#579DE2 #5757E2 #9D57E2
triadic
#5757E2 #E25757 #57E257
tetradic
#5757E2 #E2579D #E2E257 #57E29D
square
#5757E2 #E2579D #E2E257 #57E29D
split-complementary
#5757E2 #E29D57 #9DE257
monochromatic
#1C1CA3 #2525D7 #5757E2 #8B8BEB #BFBFF4

Accessibility & contrast

On white

5.43
#5757E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5757E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757E2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757E2#FFFFFF#000000##FFFFFF
##5757E21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5757e2;
/* rgb */ color: rgb(87, 87, 226);
/* oklch */ color: oklch(54.0% 0.206 277.0);
Tailwind
colors: {
  custom: {
    50: '#9487ec',
    500: '#5757e2',
    950: '#000000',
  },
}
SCSS
$custom: #5757e2;
$custom-light: #9487ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5757e2",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54004,
    "c": 0.20553,
    "h": 277
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#5757E2
secondary
#E4E4B0
accent
#D313D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5757E2

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

Preview Lab → · Contrast checker → · Palette generator →

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