#5747CB#5747CB

#5747CB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.5% C 0.195 H 282.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5747CB
RGBrgb(87, 71, 203)
HSLhsl(247, 56%, 54%)
HSVhsv(247, 65%, 80%)
CMYKcmyk(57.1%, 65%, 0%, 20.4%)
CIE-LABlab(39.32, 43.06, -66.46)
CIE-LCHlch(39.32, 79.19, 302.94°)
OKLaboklab(49.51% 0.0408 -0.1911)
OKLCHoklch(49.51% 0.195 282.1)
XYZxyz(16.9599, 10.8434, 57.6876)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747CB #BBCB47
analogous
#4779CB #5747CB #9947CB
triadic
#5747CB #CB5747 #47CB57
tetradic
#5747CB #CB4779 #BBCB47 #47CB99
square
#5747CB #CB4779 #BBCB47 #47CB99
split-complementary
#5747CB #CB9947 #79CB47
monochromatic
#2C2176 #3D2FA6 #5747CB #8377D8 #AEA6E6

Accessibility & contrast

On white

6.63
#5747CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5747CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747CB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747CB#FFFFFF#000000##FFFFFF
##5747CB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#166883
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5747cb;
/* rgb */ color: rgb(87, 71, 203);
/* oklch */ color: oklch(49.5% 0.195 282.1);
Tailwind
colors: {
  custom: {
    50: '#927bdc',
    500: '#5747cb',
    950: '#000000',
  },
}
SCSS
$custom: #5747cb;
$custom-light: #927bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5747cb",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 247.273,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49505,
    "c": 0.19546,
    "h": 282.1
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#5747CB
secondary
#CCD39B
accent
#DF49CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5747CB

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

Preview Lab → · Contrast checker → · Palette generator →

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