#5747D2#5747D2

#5747D2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.1% C 0.204 H 281.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5747D2
RGBrgb(87, 71, 210)
HSLhsl(247, 61%, 55%)
HSVhsv(247, 66%, 82%)
CMYKcmyk(58.6%, 66.2%, 0%, 17.6%)
CIE-LABlab(39.89, 45.23, -69.57)
CIE-LCHlch(39.89, 82.98, 303.03°)
OKLaboklab(50.1% 0.04 -0.2003)
OKLCHoklch(50.1% 0.204 281.3)
XYZxyz(17.8129, 11.1846, 62.1805)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747D2 #C2D247
analogous
#477DD2 #5747D2 #9C47D2
triadic
#5747D2 #D25747 #47D257
tetradic
#5747D2 #D2477D #C2D247 #47D29C
square
#5747D2 #D2477D #C2D247 #47D29C
split-complementary
#5747D2 #D29C47 #7DD247
monochromatic
#2A1F7F #3B2BB1 #5747D2 #8478DE #B1A9EA

Accessibility & contrast

On white

6.49
#5747D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5747D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747D2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747D2#FFFFFF#000000##FFFFFF
##5747D21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#006B86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5747d2;
/* rgb */ color: rgb(87, 71, 210);
/* oklch */ color: oklch(50.1% 0.204 281.3);
Tailwind
colors: {
  custom: {
    50: '#937be1',
    500: '#5747d2',
    950: '#000000',
  },
}
SCSS
$custom: #5747d2;
$custom-light: #937be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5747d2",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 246.906,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.20422,
    "h": 281.3
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#5747D2
secondary
#D1D89D
accent
#E444D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5747D2

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

Preview Lab → · Contrast checker → · Palette generator →

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