#5756D1#5756D1

#5756D1 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.185 H 278.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5756D1
RGBrgb(87, 86, 209)
HSLhsl(240, 57%, 58%)
HSVhsv(240, 59%, 82%)
CMYKcmyk(58.4%, 58.9%, 0%, 18%)
CIE-LABlab(43.19, 36.01, -63.62)
CIE-LCHlch(43.19, 73.11, 299.51°)
OKLaboklab(52.48% 0.0266 -0.1827)
OKLCHoklch(52.48% 0.185 278.3)
XYZxyz(18.7632, 13.2839, 61.8845)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756D1 #D0D156
analogous
#5692D1 #5756D1 #9556D1
triadic
#5756D1 #D15756 #56D157
tetradic
#5756D1 #D15692 #D0D156 #56D195
square
#5756D1 #D15692 #D0D156 #56D195
split-complementary
#5756D1 #D19556 #92D156
monochromatic
#262588 #3332B8 #5756D1 #8786DE #B7B6EB

Accessibility & contrast

On white

5.74
#5756D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5756D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756D1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756D1#FFFFFF#000000##FFFFFF
##5756D11.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5756d1;
/* rgb */ color: rgb(87, 86, 209);
/* oklch */ color: oklch(52.5% 0.185 278.3);
Tailwind
colors: {
  custom: {
    50: '#9186e0',
    500: '#5756d1',
    950: '#000000',
  },
}
SCSS
$custom: #5756d1;
$custom-light: #9186e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5756d1",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 209
  },
  "hsl": {
    "h": 240.488,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.18466,
    "h": 278.3
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#5756D1
secondary
#DADAA9
accent
#E047DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5756D1

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

Preview Lab → · Contrast checker → · Palette generator →

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