#5747BE#5747BE

#5747BE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.179 H 283.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5747BE
RGBrgb(87, 71, 190)
HSLhsl(248, 48%, 51%)
HSVhsv(248, 63%, 75%)
CMYKcmyk(54.2%, 62.6%, 0%, 25.5%)
CIE-LABlab(38.29, 39.03, -60.57)
CIE-LCHlch(38.29, 72.05, 302.80°)
OKLaboklab(48.44% 0.042 -0.1738)
OKLCHoklch(48.44% 0.179 283.6)
XYZxyz(15.4752, 10.2495, 49.8681)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747BE #AEBE47
analogous
#4772BE #5747BE #9247BE
triadic
#5747BE #BE5747 #47BE57
tetradic
#5747BE #BE4772 #AEBE47 #47BE92
square
#5747BE #BE4772 #AEBE47 #47BE92
split-complementary
#5747BE #BE9247 #72BE47
monochromatic
#2D2466 #413494 #5747BE #8074CE #AAA1DE

Accessibility & contrast

On white

6.89
#5747BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5747BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747BE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747BE#FFFFFF#000000##FFFFFF
##5747BE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#2A647C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5747be;
/* rgb */ color: rgb(87, 71, 190);
/* oklch */ color: oklch(48.4% 0.179 283.6);
Tailwind
colors: {
  custom: {
    50: '#907bd2',
    500: '#5747be',
    950: '#000000',
  },
}
SCSS
$custom: #5747be;
$custom-light: #907bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5747be",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 248.067,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.17884,
    "h": 283.6
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5747BE

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

Preview Lab → · Contrast checker → · Palette generator →

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