#5747D8#5747D8

#5747D8 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.212 H 280.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5747D8
RGBrgb(87, 71, 216)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(59.7%, 67.1%, 0%, 15.3%)
CIE-LABlab(40.39, 47.08, -72.20)
CIE-LCHlch(40.39, 86.19, 303.11°)
OKLaboklab(50.62% 0.0392 -0.208)
OKLCHoklch(50.62% 0.212 280.7)
XYZxyz(18.5745, 11.4893, 66.1913)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747D8 #C8D847
analogous
#4780D8 #5747D8 #A047D8
triadic
#5747D8 #D85747 #47D857
tetradic
#5747D8 #D84780 #C8D847 #47D8A0
square
#5747D8 #D84780 #C8D847 #47D8A0
split-complementary
#5747D8 #D8A047 #80D847
monochromatic
#291D88 #3827BA #5747D8 #8579E3 #B3ACED

Accessibility & contrast

On white

6.37
#5747D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5747D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747D8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747D8#FFFFFF#000000##FFFFFF
##5747D81.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5747d8;
/* rgb */ color: rgb(87, 71, 216);
/* oklch */ color: oklch(50.6% 0.212 280.7);
Tailwind
colors: {
  custom: {
    50: '#947ce5',
    500: '#5747d8',
    950: '#000000',
  },
}
SCSS
$custom: #5747d8;
$custom-light: #947ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5747d8",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 246.621,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.21163,
    "h": 280.7
  },
  "luminance": 0.11491
}

Semantic roles & 50–950 ramp

primary
#5747D8
secondary
#D5DBA0
accent
#E840D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5747D8

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

Preview Lab → · Contrast checker → · Palette generator →

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