#5747BF#5747BF

#5747BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.180 H 283.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5747BF
RGBrgb(87, 71, 191)
HSLhsl(248, 48%, 51%)
HSVhsv(248, 63%, 75%)
CMYKcmyk(54.5%, 62.8%, 0%, 25.1%)
CIE-LABlab(38.36, 39.34, -61.03)
CIE-LCHlch(38.36, 72.61, 302.81°)
OKLaboklab(48.52% 0.0419 -0.1752)
OKLCHoklch(48.52% 0.18 283.5)
XYZxyz(15.5848, 10.2934, 50.4457)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747BF #AFBF47
analogous
#4773BF #5747BF #9347BF
triadic
#5747BF #BF5747 #47BF57
tetradic
#5747BF #BF4773 #AFBF47 #47BF93
square
#5747BF #BF4773 #AFBF47 #47BF93
split-complementary
#5747BF #BF9347 #73BF47
monochromatic
#2D2468 #413495 #5747BF #8074CF #AAA2DF

Accessibility & contrast

On white

6.87
#5747BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5747BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747BF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747BF#FFFFFF#000000##FFFFFF
##5747BF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#28647C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5747bf;
/* rgb */ color: rgb(87, 71, 191);
/* oklch */ color: oklch(48.5% 0.180 283.5);
Tailwind
colors: {
  custom: {
    50: '#907bd3',
    500: '#5747bf',
    950: '#000000',
  },
}
SCSS
$custom: #5747bf;
$custom-light: #907bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5747bf",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 248,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48516,
    "c": 0.18013,
    "h": 283.5
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#5747BF
secondary
#C4CB96
accent
#D850C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5747BF

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

Preview Lab → · Contrast checker → · Palette generator →

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