#5A4FDC#5A4FDC

#5A4FDC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.207 H 280.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5A4FDC
RGBrgb(90, 79, 220)
HSLhsl(245, 67%, 59%)
HSVhsv(245, 64%, 86%)
CMYKcmyk(59.1%, 64.1%, 0%, 13.7%)
CIE-LABlab(42.66, 44.19, -70.77)
CIE-LCHlch(42.66, 83.43, 301.98°)
OKLaboklab(52.42% 0.036 -0.2037)
OKLCHoklch(52.42% 0.207 280)
XYZxyz(19.9266, 12.9315, 69.1423)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4FDC #D1DC4F
analogous
#4F8ADC #5A4FDC #A04FDC
triadic
#5A4FDC #DC5A4F #4FDC5A
tetradic
#5A4FDC #DC4F8A #D1DC4F #4FDCA0
square
#5A4FDC #DC4F8A #D1DC4F #4FDCA0
split-complementary
#5A4FDC #DCA04F #8ADC4F
monochromatic
#271D93 #3427C6 #5A4FDC #8A82E6 #BAB5F0

Accessibility & contrast

On white

5.86
#5A4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5A4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4FDC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4FDC#FFFFFF#000000##FFFFFF
##5A4FDC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a4fdc;
/* rgb */ color: rgb(90, 79, 220);
/* oklch */ color: oklch(52.4% 0.207 280.0);
Tailwind
colors: {
  custom: {
    50: '#9581e8',
    500: '#5a4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5a4fdc;
$custom-light: #9581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4fdc",
  "rgb": {
    "r": 90,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 244.681,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.20684,
    "h": 280
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

primary
#5A4FDC
secondary
#DBDFA8
accent
#EA3EDC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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