#5747C8#5747C8

#5747C8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.3% C 0.192 H 282.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5747C8
RGBrgb(87, 71, 200)
HSLhsl(247, 54%, 53%)
HSVhsv(247, 65%, 78%)
CMYKcmyk(56.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(39.07, 42.13, -65.12)
CIE-LCHlch(39.07, 77.56, 302.90°)
OKLaboklab(49.25% 0.0411 -0.1872)
OKLCHoklch(49.25% 0.192 282.4)
XYZxyz(16.6058, 10.7018, 55.8230)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747C8 #B8C847
analogous
#4777C8 #5747C8 #9747C8
triadic
#5747C8 #C85747 #47C857
tetradic
#5747C8 #C84777 #B8C847 #47C897
square
#5747C8 #C84777 #B8C847 #47C897
split-complementary
#5747C8 #C89747 #77C847
monochromatic
#2C2272 #3E30A2 #5747C8 #8276D6 #ADA5E4

Accessibility & contrast

On white

6.69
#5747C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5747C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747C8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747C8#FFFFFF#000000##FFFFFF
##5747C81.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#1C6781
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5747c8;
/* rgb */ color: rgb(87, 71, 200);
/* oklch */ color: oklch(49.3% 0.192 282.4);
Tailwind
colors: {
  custom: {
    50: '#917bda',
    500: '#5747c8',
    950: '#000000',
  },
}
SCSS
$custom: #5747c8;
$custom-light: #917bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5747c8",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 247.442,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49254,
    "c": 0.19167,
    "h": 282.4
  },
  "luminance": 0.10703
}

Semantic roles & 50–950 ramp

primary
#5747C8
secondary
#CAD19A
accent
#DD4ACB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5747C8

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

Preview Lab → · Contrast checker → · Palette generator →

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