#5747EE#5747EE

#5747EE is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.6% C 0.238 H 278.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5747EE
RGBrgb(87, 71, 238)
HSLhsl(246, 83%, 61%)
HSVhsv(246, 70%, 93%)
CMYKcmyk(63.4%, 70.2%, 0%, 6.7%)
CIE-LABlab(42.31, 53.82, -81.56)
CIE-LCHlch(42.31, 97.72, 303.42°)
OKLaboklab(52.58% 0.0358 -0.2354)
OKLCHoklch(52.58% 0.238 278.6)
XYZxyz(21.6114, 12.7040, 82.1856)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5747EE #DEEE47
analogous
#478AEE #5747EE #AB47EE
triadic
#5747EE #EE5747 #47EE57
tetradic
#5747EE #EE478A #DEEE47 #47EEAB
square
#5747EE #EE478A #DEEE47 #47EEAB
split-complementary
#5747EE #EEAB47 #8AEE47
monochromatic
#1F10AB #2915E3 #5747EE #8A7FF3 #BDB7F8

Accessibility & contrast

On white

5.93
#5747EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5747EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5747EE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5747EE#FFFFFF#000000##FFFFFF
##5747EE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF3
Deuteranopia (green-blind)
#005DEB
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5747ee;
/* rgb */ color: rgb(87, 71, 238);
/* oklch */ color: oklch(52.6% 0.238 278.6);
Tailwind
colors: {
  custom: {
    50: '#987cf5',
    500: '#5747ee',
    950: '#000000',
  },
}
SCSS
$custom: #5747ee;
$custom-light: #987cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5747ee",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 238
  },
  "hsl": {
    "h": 245.749,
    "s": 83.085,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.23808,
    "h": 278.6
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#5747EE
secondary
#E2E8A9
accent
#E006CB
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5747EE

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

Preview Lab → · Contrast checker → · Palette generator →

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