#5756ED#5756ED

#5756ED is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.221 H 276.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5756ED
RGBrgb(87, 86, 237)
HSLhsl(240, 81%, 63%)
HSVhsv(240, 64%, 93%)
CMYKcmyk(63.3%, 63.7%, 0%, 7.1%)
CIE-LABlab(45.35, 45.04, -76.02)
CIE-LCHlch(45.35, 88.36, 300.65°)
OKLaboklab(54.75% 0.0252 -0.2191)
OKLCHoklch(54.75% 0.221 276.5)
XYZxyz(22.5394, 14.7944, 81.7722)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756ED #ECED56
analogous
#56A1ED #5756ED #A256ED
triadic
#5756ED #ED5756 #56ED57
tetradic
#5756ED #ED56A1 #ECED56 #56EDA2
square
#5756ED #ED56A1 #ECED56 #56EDA2
split-complementary
#5756ED #EDA256 #A1ED56
monochromatic
#1413B5 #201FE7 #5756ED #8E8DF3 #C5C5F9

Accessibility & contrast

On white

5.30
#5756ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5756ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756ED
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756ED#FFFFFF#000000##FFFFFF
##5756ED1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5756ed;
/* rgb */ color: rgb(87, 86, 237);
/* oklch */ color: oklch(54.7% 0.221 276.5);
Tailwind
colors: {
  custom: {
    50: '#9686f4',
    500: '#5756ed',
    950: '#000000',
  },
}
SCSS
$custom: #5756ed;
$custom-light: #9686f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5756ed",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 240.397,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.22058,
    "h": 276.5
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

primary
#5756ED
secondary
#EAEAB4
accent
#DD08DC
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5756ED

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

Preview Lab → · Contrast checker → · Palette generator →

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