#5756D2#5756D2

#5756D2 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.186 H 278.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5756D2
RGBrgb(87, 86, 210)
HSLhsl(240, 58%, 58%)
HSVhsv(240, 59%, 82%)
CMYKcmyk(58.6%, 59%, 0%, 17.6%)
CIE-LABlab(43.26, 36.34, -64.07)
CIE-LCHlch(43.26, 73.66, 299.56°)
OKLaboklab(52.56% 0.0266 -0.1841)
OKLCHoklch(52.56% 0.186 278.2)
XYZxyz(18.8874, 13.3336, 62.5386)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756D2 #D1D256
analogous
#5693D2 #5756D2 #9556D2
triadic
#5756D2 #D25756 #56D257
tetradic
#5756D2 #D25693 #D1D256 #56D295
square
#5756D2 #D25693 #D1D256 #56D295
split-complementary
#5756D2 #D29556 #93D256
monochromatic
#252589 #3231B9 #5756D2 #8786DF #B7B7EC

Accessibility & contrast

On white

5.73
#5756D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5756D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756D2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756D2#FFFFFF#000000##FFFFFF
##5756D21.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5756d2;
/* rgb */ color: rgb(87, 86, 210);
/* oklch */ color: oklch(52.6% 0.186 278.2);
Tailwind
colors: {
  custom: {
    50: '#9286e1',
    500: '#5756d2',
    950: '#000000',
  },
}
SCSS
$custom: #5756d2;
$custom-light: #9286e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5756d2",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 240.484,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.18598,
    "h": 278.2
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#5756D2
secondary
#DADBA9
accent
#E147E0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5756D2

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

Preview Lab → · Contrast checker → · Palette generator →

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