#5A4EE0#5A4EE0

#5A4EE0 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.213 H 279.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5A4EE0
RGBrgb(90, 78, 224)
HSLhsl(245, 70%, 59%)
HSVhsv(245, 65%, 88%)
CMYKcmyk(59.8%, 65.2%, 0%, 12.2%)
CIE-LABlab(42.77, 46.01, -72.87)
CIE-LCHlch(42.77, 86.18, 302.27°)
OKLaboklab(52.6% 0.0364 -0.2099)
OKLCHoklch(52.6% 0.213 279.8)
XYZxyz(20.3911, 13.0028, 71.9418)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4EE0 #D4E04E
analogous
#4E8BE0 #5A4EE0 #A34EE0
triadic
#5A4EE0 #E05A4E #4EE05A
tetradic
#5A4EE0 #E04E8B #D4E04E #4EE0A3
square
#5A4EE0 #E04E8B #D4E04E #4EE0A3
split-complementary
#5A4EE0 #E0A34E #8BE04E
monochromatic
#251B99 #3224CD #5A4EE0 #8B82E9 #BBB6F2

Accessibility & contrast

On white

5.83
#5A4EE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5A4EE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4EE0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4EE0#FFFFFF#000000##FFFFFF
##5A4EE01.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#007390
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a4ee0;
/* rgb */ color: rgb(90, 78, 224);
/* oklch */ color: oklch(52.6% 0.213 279.8);
Tailwind
colors: {
  custom: {
    50: '#9681eb',
    500: '#5a4ee0',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ee0;
$custom-light: #9681eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ee0",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 224
  },
  "hsl": {
    "h": 244.932,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52596,
    "c": 0.21299,
    "h": 279.8
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#5A4EE0
secondary
#DDE1A8
accent
#ED3BDE
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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