#5A4FEA#5A4FEA

#5A4FEA is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.224 H 278.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5A4FEA
RGBrgb(90, 79, 234)
HSLhsl(244, 79%, 61%)
HSVhsv(244, 66%, 92%)
CMYKcmyk(61.5%, 66.2%, 0%, 8.2%)
CIE-LABlab(43.81, 48.55, -76.84)
CIE-LCHlch(43.81, 90.90, 302.29°)
OKLaboklab(53.6% 0.0344 -0.2215)
OKLCHoklch(53.6% 0.224 278.8)
XYZxyz(21.8590, 13.7045, 79.3193)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4FEA #DFEA4F
analogous
#4F92EA #5A4FEA #A84FEA
triadic
#5A4FEA #EA5A4F #4FEA5A
tetradic
#5A4FEA #EA4F92 #DFEA4F #4FEAA8
square
#5A4FEA #EA4F92 #DFEA4F #4FEAA8
split-complementary
#5A4FEA #EAA84F #92EA4F
monochromatic
#1F14AA #291BE1 #5A4FEA #8D86F1 #C1BCF7

Accessibility & contrast

On white

5.61
#5A4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5A4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4FEA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4FEA#FFFFFF#000000##FFFFFF
##5A4FEA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0061E7
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a4fea;
/* rgb */ color: rgb(90, 79, 234);
/* oklch */ color: oklch(53.6% 0.224 278.8);
Tailwind
colors: {
  custom: {
    50: '#9881f2',
    500: '#5a4fea',
    950: '#000000',
  },
}
SCSS
$custom: #5a4fea;
$custom-light: #9881f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4fea",
  "rgb": {
    "r": 90,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 244.258,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.22417,
    "h": 278.8
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#5A4FEA
secondary
#E3E7AD
accent
#DB0BCC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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