#5A4DE3#5A4DE3

#5A4DE3 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.218 H 279.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5A4DE3
RGBrgb(90, 77, 227)
HSLhsl(245, 73%, 60%)
HSVhsv(245, 66%, 89%)
CMYKcmyk(60.4%, 66.1%, 0%, 11%)
CIE-LABlab(42.80, 47.52, -74.52)
CIE-LCHlch(42.80, 88.38, 302.52°)
OKLaboklab(52.7% 0.0368 -0.2147)
OKLCHoklch(52.7% 0.218 279.7)
XYZxyz(20.7311, 13.0259, 74.0800)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4DE3 #D6E34D
analogous
#4D8BE3 #5A4DE3 #A54DE3
triadic
#5A4DE3 #E35A4D #4DE35A
tetradic
#5A4DE3 #E34D8B #D6E34D #4DE3A5
square
#5A4DE3 #E34D8B #D6E34D #4DE3A5
split-complementary
#5A4DE3 #E3A54D #8BE34D
monochromatic
#24199D #3021D2 #5A4DE3 #8B82EB #BCB7F4

Accessibility & contrast

On white

5.82
#5A4DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5A4DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4DE3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4DE3#FFFFFF#000000##FFFFFF
##5A4DE31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#005FE0
Tritanopia (blue-blind)
#007491
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a4de3;
/* rgb */ color: rgb(90, 77, 227);
/* oklch */ color: oklch(52.7% 0.218 279.7);
Tailwind
colors: {
  custom: {
    50: '#9780ed',
    500: '#5a4de3',
    950: '#000000',
  },
}
SCSS
$custom: #5a4de3;
$custom-light: #9780ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4de3",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 245.2,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.21784,
    "h": 279.7
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#5A4DE3
secondary
#DEE3A9
accent
#F038E0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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