#5756E6#5756E6

#5756E6 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.212 H 277.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5756E6
RGBrgb(87, 86, 230)
HSLhsl(240, 74%, 62%)
HSVhsv(240, 63%, 90%)
CMYKcmyk(62.2%, 62.6%, 0%, 9.8%)
CIE-LABlab(44.79, 42.79, -72.98)
CIE-LCHlch(44.79, 84.60, 300.38°)
OKLaboklab(54.17% 0.0257 -0.2102)
OKLCHoklch(54.17% 0.212 277)
XYZxyz(21.5366, 14.3933, 76.4908)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756E6 #E5E656
analogous
#569DE6 #5756E6 #9F56E6
triadic
#5756E6 #E65756 #56E657
tetradic
#5756E6 #E6569D #E5E656 #56E69F
square
#5756E6 #E6569D #E5E656 #56E69F
split-complementary
#5756E6 #E69F56 #9DE656
monochromatic
#1A19A9 #2221DE #5756E6 #8C8BEE #C1C1F6

Accessibility & contrast

On white

5.41
#5756E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5756E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756E6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756E6#FFFFFF#000000##FFFFFF
##5756E61.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5756e6;
/* rgb */ color: rgb(87, 86, 230);
/* oklch */ color: oklch(54.2% 0.212 277.0);
Tailwind
colors: {
  custom: {
    50: '#9586ef',
    500: '#5756e6',
    950: '#000000',
  },
}
SCSS
$custom: #5756e6;
$custom-light: #9586ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5756e6",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 240.417,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.21179,
    "h": 277
  },
  "luminance": 0.14395
}

Semantic roles & 50–950 ramp

primary
#5756E6
secondary
#E6E6B1
accent
#D60FD5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5756E6

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

Preview Lab → · Contrast checker → · Palette generator →

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