#5757EC#5757EC

#5757EC is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.218 H 276.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5757EC
RGBrgb(87, 87, 236)
HSLhsl(240, 80%, 63%)
HSVhsv(240, 63%, 93%)
CMYKcmyk(63.1%, 63.1%, 0%, 7.5%)
CIE-LABlab(45.49, 44.13, -75.22)
CIE-LCHlch(45.49, 87.21, 300.40°)
OKLaboklab(54.83% 0.0245 -0.2168)
OKLCHoklch(54.83% 0.218 276.4)
XYZxyz(22.4741, 14.8969, 81.0317)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757EC #ECEC57
analogous
#57A1EC #5757EC #A157EC
triadic
#5757EC #EC5757 #57EC57
tetradic
#5757EC #EC57A1 #ECEC57 #57ECA1
square
#5757EC #EC57A1 #ECEC57 #57ECA1
split-complementary
#5757EC #ECA157 #A1EC57
monochromatic
#1414B4 #2020E6 #5757EC #8E8EF2 #C5C5F8

Accessibility & contrast

On white

5.28
#5757EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5757EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757EC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757EC#FFFFFF#000000##FFFFFF
##5757EC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5757ec;
/* rgb */ color: rgb(87, 87, 236);
/* oklch */ color: oklch(54.8% 0.218 276.4);
Tailwind
colors: {
  custom: {
    50: '#9687f3',
    500: '#5757ec',
    950: '#000000',
  },
}
SCSS
$custom: #5757ec;
$custom-light: #9687f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5757ec",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 240,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.21819,
    "h": 276.4
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#5757EC
secondary
#EAEAB5
accent
#DC0ADC
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5757EC

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

Preview Lab → · Contrast checker → · Palette generator →

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