#5747CA#5747CA

#5747CA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.194 H 282.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5747CA
RGBrgb(87, 71, 202)
HSLhsl(247, 55%, 54%)
HSVhsv(247, 65%, 79%)
CMYKcmyk(56.9%, 64.9%, 0%, 20.8%)
CIE-LABlab(39.23, 42.75, -66.02)
CIE-LCHlch(39.23, 78.65, 302.93°)
OKLaboklab(49.42% 0.0409 -0.1898)
OKLCHoklch(49.42% 0.194 282.2)
XYZxyz(16.8411, 10.7959, 57.0620)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747CA #BACA47
analogous
#4778CA #5747CA #9847CA
triadic
#5747CA #CA5747 #47CA57
tetradic
#5747CA #CA4778 #BACA47 #47CA98
square
#5747CA #CA4778 #BACA47 #47CA98
split-complementary
#5747CA #CA9847 #78CA47
monochromatic
#2C2275 #3E2FA4 #5747CA #8277D8 #AEA6E5

Accessibility & contrast

On white

6.65
#5747CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5747CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747CA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747CA#FFFFFF#000000##FFFFFF
##5747CA1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#186882
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5747ca;
/* rgb */ color: rgb(87, 71, 202);
/* oklch */ color: oklch(49.4% 0.194 282.2);
Tailwind
colors: {
  custom: {
    50: '#917bdb',
    500: '#5747ca',
    950: '#000000',
  },
}
SCSS
$custom: #5747ca;
$custom-light: #917bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5747ca",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 247.328,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49421,
    "c": 0.1942,
    "h": 282.2
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#5747CA
secondary
#CCD29A
accent
#DF49CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5747CA

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

Preview Lab → · Contrast checker → · Palette generator →

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