#5A4AE3#5A4AE3

#5A4AE3 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.221 H 280.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5A4AE3
RGBrgb(90, 74, 227)
HSLhsl(246, 73%, 59%)
HSVhsv(246, 67%, 89%)
CMYKcmyk(60.4%, 67.4%, 0%, 11%)
CIE-LABlab(42.18, 49.21, -75.54)
CIE-LCHlch(42.18, 90.16, 303.08°)
OKLaboklab(52.25% 0.0392 -0.2177)
OKLCHoklch(52.25% 0.221 280.2)
XYZxyz(20.5260, 12.6158, 74.0116)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4AE3 #D3E34A
analogous
#4A86E3 #5A4AE3 #A74AE3
triadic
#5A4AE3 #E35A4A #4AE35A
tetradic
#5A4AE3 #E34A86 #D3E34A #4AE3A7
square
#5A4AE3 #E34A86 #D3E34A #4AE3A7
split-complementary
#5A4AE3 #E3A74A #86E34A
monochromatic
#26189B #3220D0 #5A4AE3 #8A7FEB #BBB4F3

Accessibility & contrast

On white

5.96
#5A4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5A4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4AE3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4AE3#FFFFFF#000000##FFFFFF
##5A4AE31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E8
Deuteranopia (green-blind)
#005EE0
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a4ae3;
/* rgb */ color: rgb(90, 74, 227);
/* oklch */ color: oklch(52.2% 0.221 280.2);
Tailwind
colors: {
  custom: {
    50: '#977eed',
    500: '#5a4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ae3;
$custom-light: #977eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ae3",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 246.275,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.2212,
    "h": 280.2
  },
  "luminance": 0.12617
}

Semantic roles & 50–950 ramp

primary
#5A4AE3
secondary
#DCE2A6
accent
#F038DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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