#5747E4#5747E4

#5747E4 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.226 H 279.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5747E4
RGBrgb(87, 71, 228)
HSLhsl(246, 74%, 59%)
HSVhsv(246, 69%, 89%)
CMYKcmyk(61.8%, 68.9%, 0%, 10.6%)
CIE-LABlab(41.43, 50.77, -77.35)
CIE-LCHlch(41.43, 92.53, 303.28°)
OKLaboklab(51.68% 0.0374 -0.2231)
OKLCHoklch(51.68% 0.226 279.5)
XYZxyz(20.1828, 12.1326, 74.6620)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747E4 #D4E447
analogous
#4785E4 #5747E4 #A647E4
triadic
#5747E4 #E45747 #47E457
tetradic
#5747E4 #E44785 #D4E447 #47E4A6
square
#5747E4 #E44785 #D4E447 #47E4A6
split-complementary
#5747E4 #E4A647 #85E447
monochromatic
#24179A #301ECF #5747E4 #887CEC #B8B2F4

Accessibility & contrast

On white

6.13
#5747E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5747E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747E4
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747E4#FFFFFF#000000##FFFFFF
##5747E41.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5747e4;
/* rgb */ color: rgb(87, 71, 228);
/* oklch */ color: oklch(51.7% 0.226 279.5);
Tailwind
colors: {
  custom: {
    50: '#967cee',
    500: '#5747e4',
    950: '#000000',
  },
}
SCSS
$custom: #5747e4;
$custom-light: #967cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5747e4",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 246.115,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51676,
    "c": 0.2262,
    "h": 279.5
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#5747E4
secondary
#DCE2A4
accent
#F137DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5747E4

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

Preview Lab → · Contrast checker → · Palette generator →

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