#5A4FE3#5A4FE3

#5A4FE3 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.216 H 279.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5A4FE3
RGBrgb(90, 79, 227)
HSLhsl(244, 73%, 60%)
HSVhsv(244, 65%, 89%)
CMYKcmyk(60.4%, 65.2%, 0%, 11%)
CIE-LABlab(43.23, 46.37, -73.83)
CIE-LCHlch(43.23, 87.18, 302.13°)
OKLaboklab(53.01% 0.0352 -0.2127)
OKLCHoklch(53.01% 0.216 279.4)
XYZxyz(20.8731, 13.3101, 74.1273)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4FE3 #D8E34F
analogous
#4F8EE3 #5A4FE3 #A44FE3
triadic
#5A4FE3 #E35A4F #4FE35A
tetradic
#5A4FE3 #E34F8E #D8E34F #4FE3A4
square
#5A4FE3 #E34F8E #D8E34F #4FE3A4
split-complementary
#5A4FE3 #E3A44F #8EE34F
monochromatic
#23199E #2F22D3 #5A4FE3 #8B84EB #BDB9F4

Accessibility & contrast

On white

5.73
#5A4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5A4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4FE3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4FE3#FFFFFF#000000##FFFFFF
##5A4FE31.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0060E0
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a4fe3;
/* rgb */ color: rgb(90, 79, 227);
/* oklch */ color: oklch(53.0% 0.216 279.4);
Tailwind
colors: {
  custom: {
    50: '#9681ed',
    500: '#5a4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #5a4fe3;
$custom-light: #9681ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4fe3",
  "rgb": {
    "r": 90,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 244.459,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.21556,
    "h": 279.4
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#5A4FE3
secondary
#DFE3AA
accent
#EF39E2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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