#5757EA#5757EA

#5757EA is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.216 H 276.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5757EA
RGBrgb(87, 87, 234)
HSLhsl(240, 78%, 63%)
HSVhsv(240, 63%, 92%)
CMYKcmyk(62.8%, 62.8%, 0%, 8.2%)
CIE-LABlab(45.33, 43.49, -74.35)
CIE-LCHlch(45.33, 86.14, 300.32°)
OKLaboklab(54.66% 0.0246 -0.2143)
OKLCHoklch(54.66% 0.216 276.6)
XYZxyz(22.1851, 14.7813, 79.5099)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757EA #EAEA57
analogous
#57A0EA #5757EA #A057EA
triadic
#5757EA #EA5757 #57EA57
tetradic
#5757EA #EA57A0 #EAEA57 #57EAA0
square
#5757EA #EA57A0 #EAEA57 #57EAA0
split-complementary
#5757EA #EAA057 #A0EA57
monochromatic
#1616B1 #2121E3 #5757EA #8D8DF1 #C4C4F8

Accessibility & contrast

On white

5.31
#5757EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5757EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757EA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757EA#FFFFFF#000000##FFFFFF
##5757EA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5757ea;
/* rgb */ color: rgb(87, 87, 234);
/* oklch */ color: oklch(54.7% 0.216 276.6);
Tailwind
colors: {
  custom: {
    50: '#9687f2',
    500: '#5757ea',
    950: '#000000',
  },
}
SCSS
$custom: #5757ea;
$custom-light: #9687f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5757ea",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.21567,
    "h": 276.6
  },
  "luminance": 0.14783
}

Semantic roles & 50–950 ramp

primary
#5757EA
secondary
#E9E9B4
accent
#DA0BDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5757EA

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

Preview Lab → · Contrast checker → · Palette generator →

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