#5756DC#5756DC

#5756DC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.4% C 0.199 H 277.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5756DC
RGBrgb(87, 86, 220)
HSLhsl(240, 66%, 60%)
HSVhsv(240, 61%, 86%)
CMYKcmyk(60.5%, 60.9%, 0%, 13.7%)
CIE-LABlab(44.01, 39.57, -68.57)
CIE-LCHlch(44.01, 79.17, 299.99°)
OKLaboklab(53.35% 0.0263 -0.1973)
OKLCHoklch(53.35% 0.199 277.6)
XYZxyz(20.1724, 13.8476, 69.3061)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756DC #DBDC56
analogous
#5698DC #5756DC #9A56DC
triadic
#5756DC #DC5756 #56DC57
tetradic
#5756DC #DC5698 #DBDC56 #56DC9A
square
#5756DC #DC5698 #DBDC56 #56DC9A
split-complementary
#5756DC #DC9A56 #98DC56
monochromatic
#202098 #2B2ACB #5756DC #8989E6 #BCBBF1

Accessibility & contrast

On white

5.57
#5756DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5756DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756DC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756DC#FFFFFF#000000##FFFFFF
##5756DC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5756dc;
/* rgb */ color: rgb(87, 86, 220);
/* oklch */ color: oklch(53.4% 0.199 277.6);
Tailwind
colors: {
  custom: {
    50: '#9386e8',
    500: '#5756dc',
    950: '#000000',
  },
}
SCSS
$custom: #5756dc;
$custom-light: #9386e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5756dc",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 240.448,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.53352,
    "c": 0.19902,
    "h": 277.6
  },
  "luminance": 0.13849
}

Semantic roles & 50–950 ramp

primary
#5756DC
secondary
#E0E1AD
accent
#E93FE7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5756DC

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

Preview Lab → · Contrast checker → · Palette generator →

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