#5747CC#5747CC

#5747CC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.6% C 0.197 H 281.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5747CC
RGBrgb(87, 71, 204)
HSLhsl(247, 57%, 54%)
HSVhsv(247, 65%, 80%)
CMYKcmyk(57.4%, 65.2%, 0%, 20%)
CIE-LABlab(39.40, 43.37, -66.91)
CIE-LCHlch(39.40, 79.74, 302.95°)
OKLaboklab(49.59% 0.0407 -0.1925)
OKLCHoklch(49.59% 0.197 281.9)
XYZxyz(17.0794, 10.8912, 58.3173)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747CC #BCCC47
analogous
#477ACC #5747CC #9A47CC
triadic
#5747CC #CC5747 #47CC57
tetradic
#5747CC #CC477A #BCCC47 #47CC9A
square
#5747CC #CC477A #BCCC47 #47CC9A
split-complementary
#5747CC #CC9A47 #7ACC47
monochromatic
#2C2177 #3D2EA7 #5747CC #8377D9 #AFA7E7

Accessibility & contrast

On white

6.61
#5747CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5747CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747CC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747CC#FFFFFF#000000##FFFFFF
##5747CC1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#146983
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5747cc;
/* rgb */ color: rgb(87, 71, 204);
/* oklch */ color: oklch(49.6% 0.197 281.9);
Tailwind
colors: {
  custom: {
    50: '#927bdd',
    500: '#5747cc',
    950: '#000000',
  },
}
SCSS
$custom: #5747cc;
$custom-light: #927bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5747cc",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 247.218,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.19673,
    "h": 281.9
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#5747CC
secondary
#CDD49B
accent
#E048CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5747CC

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

Preview Lab → · Contrast checker → · Palette generator →

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