#5747BC#5747BC

#5747BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.176 H 283.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5747BC
RGBrgb(87, 71, 188)
HSLhsl(248, 47%, 51%)
HSVhsv(248, 62%, 74%)
CMYKcmyk(53.7%, 62.2%, 0%, 26.3%)
CIE-LABlab(38.13, 38.41, -59.64)
CIE-LCHlch(38.13, 70.94, 302.78°)
OKLaboklab(48.28% 0.0422 -0.1711)
OKLCHoklch(48.28% 0.176 283.8)
XYZxyz(15.2581, 10.1627, 48.7248)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747BC #ACBC47
analogous
#4771BC #5747BC #9147BC
triadic
#5747BC #BC5747 #47BC57
tetradic
#5747BC #BC4771 #ACBC47 #47BC91
square
#5747BC #BC4771 #ACBC47 #47BC91
split-complementary
#5747BC #BC9147 #71BC47
monochromatic
#2D2464 #413591 #5747BC #8074CC #A9A1DD

Accessibility & contrast

On white

6.92
#5747BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5747BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747BC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747BC#FFFFFF#000000##FFFFFF
##5747BC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#2C637B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5747bc;
/* rgb */ color: rgb(87, 71, 188);
/* oklch */ color: oklch(48.3% 0.176 283.8);
Tailwind
colors: {
  custom: {
    50: '#8f7bd1',
    500: '#5747bc',
    950: '#000000',
  },
}
SCSS
$custom: #5747bc;
$custom-light: #8f7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5747bc",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 248.205,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48275,
    "c": 0.17624,
    "h": 283.8
  },
  "luminance": 0.10164
}

Semantic roles & 50–950 ramp

primary
#5747BC
secondary
#C2C995
accent
#D652C4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5747BC

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

Preview Lab → · Contrast checker → · Palette generator →

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