#5A47EE#5A47EE

#5A47EE is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.8% C 0.238 H 279.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5A47EE
RGBrgb(90, 71, 238)
HSLhsl(247, 83%, 61%)
HSVhsv(247, 70%, 93%)
CMYKcmyk(62.2%, 70.2%, 0%, 6.7%)
CIE-LABlab(42.54, 54.20, -81.18)
CIE-LCHlch(42.54, 97.61, 303.73°)
OKLaboklab(52.8% 0.0396 -0.2342)
OKLCHoklch(52.8% 0.238 279.6)
XYZxyz(21.8974, 12.8515, 82.1990)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A47EE #DBEE47
analogous
#4788EE #5A47EE #AD47EE
triadic
#5A47EE #EE5A47 #47EE5A
tetradic
#5A47EE #EE4788 #DBEE47 #47EEAD
square
#5A47EE #EE4788 #DBEE47 #47EEAD
split-complementary
#5A47EE #EEAD47 #88EE47
monochromatic
#2110AB #2C15E3 #5A47EE #8C7FF3 #BEB7F8

Accessibility & contrast

On white

5.88
#5A47EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5A47EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A47EE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A47EE#FFFFFF#000000##FFFFFF
##5A47EE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a47ee;
/* rgb */ color: rgb(90, 71, 238);
/* oklch */ color: oklch(52.8% 0.238 279.6);
Tailwind
colors: {
  custom: {
    50: '#997cf5',
    500: '#5a47ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a47ee;
$custom-light: #997cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a47ee",
  "rgb": {
    "r": 90,
    "g": 71,
    "b": 238
  },
  "hsl": {
    "h": 246.826,
    "s": 83.085,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52798,
    "c": 0.23753,
    "h": 279.6
  },
  "luminance": 0.12853
}

Semantic roles & 50–950 ramp

primary
#5A47EE
secondary
#E1E8A9
accent
#E006C7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A47EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5A47EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva