#5747CF#5747CF

#5747CF is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.200 H 281.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5747CF
RGBrgb(87, 71, 207)
HSLhsl(247, 59%, 55%)
HSVhsv(247, 66%, 81%)
CMYKcmyk(58%, 65.7%, 0%, 18.8%)
CIE-LABlab(39.64, 44.30, -68.24)
CIE-LCHlch(39.64, 81.36, 302.99°)
OKLaboklab(49.84% 0.0404 -0.1964)
OKLCHoklch(49.84% 0.2 281.6)
XYZxyz(17.4427, 11.0365, 60.2305)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747CF #BFCF47
analogous
#477BCF #5747CF #9B47CF
triadic
#5747CF #CF5747 #47CF57
tetradic
#5747CF #CF477B #BFCF47 #47CF9B
square
#5747CF #CF477B #BFCF47 #47CF9B
split-complementary
#5747CF #CF9B47 #7BCF47
monochromatic
#2B207B #3C2DAC #5747CF #8378DC #B0A8E8

Accessibility & contrast

On white

6.55
#5747CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5747CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747CF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747CF#FFFFFF#000000##FFFFFF
##5747CF1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#0B6A85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5747cf;
/* rgb */ color: rgb(87, 71, 207);
/* oklch */ color: oklch(49.8% 0.200 281.6);
Tailwind
colors: {
  custom: {
    50: '#927bdf',
    500: '#5747cf',
    950: '#000000',
  },
}
SCSS
$custom: #5747cf;
$custom-light: #927bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5747cf",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 247.059,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.20048,
    "h": 281.6
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#5747CF
secondary
#CFD69C
accent
#E246CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5747CF

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

Preview Lab → · Contrast checker → · Palette generator →

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