#5756EE#5756EE

#5756EE is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.8% C 0.222 H 276.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5756EE
RGBrgb(87, 86, 238)
HSLhsl(240, 82%, 64%)
HSVhsv(240, 64%, 93%)
CMYKcmyk(63.4%, 63.9%, 0%, 6.7%)
CIE-LABlab(45.43, 45.36, -76.45)
CIE-LCHlch(45.43, 88.89, 300.68°)
OKLaboklab(54.83% 0.0251 -0.2204)
OKLCHoklch(54.83% 0.222 276.5)
XYZxyz(22.6859, 14.8530, 82.5438)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756EE #EDEE56
analogous
#56A1EE #5756EE #A356EE
triadic
#5756EE #EE5756 #56EE57
tetradic
#5756EE #EE56A1 #EDEE56 #56EEA3
square
#5756EE #EE56A1 #EDEE56 #56EEA3
split-complementary
#5756EE #EEA356 #A1EE56
monochromatic
#1412B7 #201EE8 #5756EE #8E8EF4 #C6C5F9

Accessibility & contrast

On white

5.29
#5756EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5756EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756EE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756EE#FFFFFF#000000##FFFFFF
##5756EE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5756ee;
/* rgb */ color: rgb(87, 86, 238);
/* oklch */ color: oklch(54.8% 0.222 276.5);
Tailwind
colors: {
  custom: {
    50: '#9686f5',
    500: '#5756ee',
    950: '#000000',
  },
}
SCSS
$custom: #5756ee;
$custom-light: #9686f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5756ee",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 240.395,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.22182,
    "h": 276.5
  },
  "luminance": 0.14855
}

Semantic roles & 50–950 ramp

primary
#5756EE
secondary
#EAEBB5
accent
#DE07DD
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5756EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5756EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva