#5756E7#5756E7

#5756E7 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.213 H 276.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5756E7
RGBrgb(87, 86, 231)
HSLhsl(240, 75%, 62%)
HSVhsv(240, 63%, 91%)
CMYKcmyk(62.3%, 62.8%, 0%, 9.4%)
CIE-LABlab(44.87, 43.11, -73.42)
CIE-LCHlch(44.87, 85.14, 300.42°)
OKLaboklab(54.25% 0.0256 -0.2115)
OKLCHoklch(54.25% 0.213 276.9)
XYZxyz(21.6774, 14.4496, 77.2325)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756E7 #E6E756
analogous
#569DE7 #5756E7 #A056E7
triadic
#5756E7 #E75756 #56E757
tetradic
#5756E7 #E7569D #E6E756 #56E7A0
square
#5756E7 #E7569D #E6E756 #56E7A0
split-complementary
#5756E7 #E7A056 #9DE756
monochromatic
#1918AA #2220DF #5756E7 #8C8CEF #C2C1F6

Accessibility & contrast

On white

5.40
#5756E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5756E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756E7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756E7#FFFFFF#000000##FFFFFF
##5756E71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5756e7;
/* rgb */ color: rgb(87, 86, 231);
/* oklch */ color: oklch(54.2% 0.213 276.9);
Tailwind
colors: {
  custom: {
    50: '#9586f0',
    500: '#5756e7',
    950: '#000000',
  },
}
SCSS
$custom: #5756e7;
$custom-light: #9586f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5756e7",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 240.414,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.21306,
    "h": 276.9
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

primary
#5756E7
secondary
#E7E7B2
accent
#D70ED6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5756E7

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

Preview Lab → · Contrast checker → · Palette generator →

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