#5747E6#5747E6

#5747E6 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.9% C 0.229 H 279.3°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5747E6
RGBrgb(87, 71, 230)
HSLhsl(246, 76%, 59%)
HSVhsv(246, 69%, 90%)
CMYKcmyk(62.2%, 69.1%, 0%, 9.8%)
CIE-LABlab(41.60, 51.38, -78.20)
CIE-LCHlch(41.60, 93.57, 303.31°)
OKLaboklab(51.86% 0.0371 -0.2256)
OKLCHoklch(51.86% 0.229 279.3)
XYZxyz(20.4621, 12.2443, 76.1327)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747E6 #D6E647
analogous
#4787E6 #5747E6 #A747E6
triadic
#5747E6 #E65747 #47E657
tetradic
#5747E6 #E64787 #D6E647 #47E6A7
square
#5747E6 #E64787 #D6E647 #47E6A7
split-complementary
#5747E6 #E6A747 #87E647
monochromatic
#23159D #2F1DD3 #5747E6 #887DED #B9B3F5

Accessibility & contrast

On white

6.09
#5747E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5747E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747E6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747E6#FFFFFF#000000##FFFFFF
##5747E61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005CE3
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5747e6;
/* rgb */ color: rgb(87, 71, 230);
/* oklch */ color: oklch(51.9% 0.229 279.3);
Tailwind
colors: {
  custom: {
    50: '#967cef',
    500: '#5747e6',
    950: '#000000',
  },
}
SCSS
$custom: #5747e6;
$custom-light: #967cef;
$custom-dark: #000000;
JSON
{
  "hex": "#5747e6",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 230
  },
  "hsl": {
    "h": 246.038,
    "s": 76.077,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.22859,
    "h": 279.3
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#5747E6
secondary
#DDE4A5
accent
#F335E0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5747E6

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

Preview Lab → · Contrast checker → · Palette generator →

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