#5756C2#5756C2

#5756C2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.165 H 279.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5756C2
RGBrgb(87, 86, 194)
HSLhsl(241, 47%, 55%)
HSVhsv(241, 56%, 76%)
CMYKcmyk(55.2%, 55.7%, 0%, 23.9%)
CIE-LABlab(42.12, 31.17, -56.69)
CIE-LCHlch(42.12, 64.69, 298.80°)
OKLaboklab(51.35% 0.0266 -0.1623)
OKLCHoklch(51.35% 0.165 279.3)
XYZxyz(16.9928, 12.5758, 52.5604)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756C2 #C1C256
analogous
#568BC2 #5756C2 #8D56C2
triadic
#5756C2 #C25756 #56C257
tetradic
#5756C2 #C2568B #C1C256 #56C28D
square
#5756C2 #C2568B #C1C256 #56C28D
split-complementary
#5756C2 #C28D56 #8BC256
monochromatic
#2A2A74 #3B3AA1 #5756C2 #8483D2 #B0B0E2

Accessibility & contrast

On white

5.97
#5756C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5756C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756C2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756C2#FFFFFF#000000##FFFFFF
##5756C21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0668C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#226F83
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5756c2;
/* rgb */ color: rgb(87, 86, 194);
/* oklch */ color: oklch(51.4% 0.165 279.3);
Tailwind
colors: {
  custom: {
    50: '#8f85d5',
    500: '#5756c2',
    950: '#000000',
  },
}
SCSS
$custom: #5756c2;
$custom-light: #8f85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5756c2",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 240.556,
    "s": 46.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.16451,
    "h": 279.3
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#5756C2
secondary
#D0D1A3
accent
#D751D5
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5756C2

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

Preview Lab → · Contrast checker → · Palette generator →

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