#5756CE#5756CE

#5756CE is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.181 H 278.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5756CE
RGBrgb(87, 86, 206)
HSLhsl(241, 55%, 57%)
HSVhsv(241, 58%, 81%)
CMYKcmyk(57.8%, 58.3%, 0%, 19.2%)
CIE-LABlab(42.97, 35.04, -62.25)
CIE-LCHlch(42.97, 71.44, 299.38°)
OKLaboklab(52.25% 0.0267 -0.1787)
OKLCHoklch(52.25% 0.181 278.5)
XYZxyz(18.3953, 13.1368, 59.9468)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756CE #CDCE56
analogous
#5691CE #5756CE #9356CE
triadic
#5756CE #CE5756 #56CE57
tetradic
#5756CE #CE5691 #CDCE56 #56CE93
square
#5756CE #CE5691 #CDCE56 #56CE93
split-complementary
#5756CE #CE9356 #91CE56
monochromatic
#272683 #3534B3 #5756CE #8685DC #B5B5EA

Accessibility & contrast

On white

5.79
#5756CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5756CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756CE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756CE#FFFFFF#000000##FFFFFF
##5756CE1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#07738A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5756ce;
/* rgb */ color: rgb(87, 86, 206);
/* oklch */ color: oklch(52.3% 0.181 278.5);
Tailwind
colors: {
  custom: {
    50: '#9186de',
    500: '#5756ce',
    950: '#000000',
  },
}
SCSS
$custom: #5756ce;
$custom-light: #9186de;
$custom-dark: #000000;
JSON
{
  "hex": "#5756ce",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 240.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.18068,
    "h": 278.5
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#5756CE
secondary
#D8D8A8
accent
#DE49DD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5756CE

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

Preview Lab → · Contrast checker → · Palette generator →

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