#5747D9#5747D9

#5747D9 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.213 H 280.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5747D9
RGBrgb(87, 71, 217)
HSLhsl(247, 66%, 56%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(59.9%, 67.3%, 0%, 14.9%)
CIE-LABlab(40.48, 47.39, -72.63)
CIE-LCHlch(40.48, 86.72, 303.12°)
OKLaboklab(50.7% 0.0391 -0.2092)
OKLCHoklch(50.7% 0.213 280.6)
XYZxyz(18.7042, 11.5411, 66.8742)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747D9 #C9D947
analogous
#4780D9 #5747D9 #A047D9
triadic
#5747D9 #D95747 #47D957
tetradic
#5747D9 #D94780 #C9D947 #47D9A0
square
#5747D9 #D94780 #C9D947 #47D9A0
split-complementary
#5747D9 #D9A047 #80D947
monochromatic
#281C89 #3727BC #5747D9 #857AE3 #B4ACEE

Accessibility & contrast

On white

6.35
#5747D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5747D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747D9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747D9#FFFFFF#000000##FFFFFF
##5747D91.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5747d9;
/* rgb */ color: rgb(87, 71, 217);
/* oklch */ color: oklch(50.7% 0.213 280.6);
Tailwind
colors: {
  custom: {
    50: '#947ce6',
    500: '#5747d9',
    950: '#000000',
  },
}
SCSS
$custom: #5747d9;
$custom-light: #947ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5747d9",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 246.575,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50704,
    "c": 0.21287,
    "h": 280.6
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#5747D9
secondary
#D5DCA0
accent
#E93FD6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5747D9

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

Preview Lab → · Contrast checker → · Palette generator →

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