#5A4FE4#5A4FE4

#5A4FE4 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.1% C 0.217 H 279.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5A4FE4
RGBrgb(90, 79, 228)
HSLhsl(244, 73%, 60%)
HSVhsv(244, 65%, 89%)
CMYKcmyk(60.5%, 65.4%, 0%, 10.6%)
CIE-LABlab(43.31, 46.69, -74.26)
CIE-LCHlch(43.31, 87.72, 302.16°)
OKLaboklab(53.09% 0.0351 -0.2139)
OKLCHoklch(53.09% 0.217 279.3)
XYZxyz(21.0116, 13.3655, 74.8563)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4FE4 #D9E44F
analogous
#4F8EE4 #5A4FE4 #A54FE4
triadic
#5A4FE4 #E45A4F #4FE45A
tetradic
#5A4FE4 #E44F8E #D9E44F #4FE4A5
square
#5A4FE4 #E44F8E #D9E44F #4FE4A5
split-complementary
#5A4FE4 #E4A54F #8EE44F
monochromatic
#2319A0 #2E21D5 #5A4FE4 #8C84EC #BDB9F4

Accessibility & contrast

On white

5.72
#5A4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5A4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4FE4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4FE4#FFFFFF#000000##FFFFFF
##5A4FE41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a4fe4;
/* rgb */ color: rgb(90, 79, 228);
/* oklch */ color: oklch(53.1% 0.217 279.3);
Tailwind
colors: {
  custom: {
    50: '#9781ee',
    500: '#5a4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #5a4fe4;
$custom-light: #9781ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4fe4",
  "rgb": {
    "r": 90,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 244.43,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5309,
    "c": 0.2168,
    "h": 279.3
  },
  "luminance": 0.13367
}

Semantic roles & 50–950 ramp

primary
#5A4FE4
secondary
#E0E4AB
accent
#D610C7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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