#5747CD#5747CD

#5747CD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.7% C 0.198 H 281.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5747CD
RGBrgb(87, 71, 205)
HSLhsl(247, 57%, 54%)
HSVhsv(247, 65%, 80%)
CMYKcmyk(57.6%, 65.4%, 0%, 19.6%)
CIE-LABlab(39.48, 43.68, -67.36)
CIE-LCHlch(39.48, 80.28, 302.96°)
OKLaboklab(49.67% 0.0406 -0.1938)
OKLCHoklch(49.67% 0.198 281.8)
XYZxyz(17.1997, 10.9394, 58.9509)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747CD #BDCD47
analogous
#477ACD #5747CD #9A47CD
triadic
#5747CD #CD5747 #47CD57
tetradic
#5747CD #CD477A #BDCD47 #47CD9A
square
#5747CD #CD477A #BDCD47 #47CD9A
split-complementary
#5747CD #CD9A47 #7ACD47
monochromatic
#2B2179 #3D2EA9 #5747CD #8377DA #AFA7E7

Accessibility & contrast

On white

6.59
#5747CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5747CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747CD
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747CD#FFFFFF#000000##FFFFFF
##5747CD1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#116984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5747cd;
/* rgb */ color: rgb(87, 71, 205);
/* oklch */ color: oklch(49.7% 0.198 281.8);
Tailwind
colors: {
  custom: {
    50: '#927bdd',
    500: '#5747cd',
    950: '#000000',
  },
}
SCSS
$custom: #5747cd;
$custom-light: #927bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5747cd",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 247.164,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49673,
    "c": 0.19798,
    "h": 281.8
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#5747CD
secondary
#CED49B
accent
#E147CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5747CD

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

Preview Lab → · Contrast checker → · Palette generator →

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