#5A4EDC#5A4EDC

#5A4EDC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.208 H 280.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5A4EDC
RGBrgb(90, 78, 220)
HSLhsl(245, 67%, 58%)
HSVhsv(245, 65%, 86%)
CMYKcmyk(59.1%, 64.5%, 0%, 13.7%)
CIE-LABlab(42.44, 44.77, -71.12)
CIE-LCHlch(42.44, 84.04, 302.19°)
OKLaboklab(52.26% 0.0368 -0.2047)
OKLCHoklch(52.26% 0.208 280.2)
XYZxyz(19.8550, 12.7883, 69.1184)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4EDC #D0DC4E
analogous
#4E89DC #5A4EDC #A14EDC
triadic
#5A4EDC #DC5A4E #4EDC5A
tetradic
#5A4EDC #DC4E89 #D0DC4E #4EDCA1
square
#5A4EDC #DC4E89 #D0DC4E #4EDCA1
split-complementary
#5A4EDC #DCA14E #89DC4E
monochromatic
#271D93 #3427C6 #5A4EDC #8A81E6 #B9B4F0

Accessibility & contrast

On white

5.90
#5A4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5A4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4EDC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4EDC#FFFFFF#000000##FFFFFF
##5A4EDC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a4edc;
/* rgb */ color: rgb(90, 78, 220);
/* oklch */ color: oklch(52.3% 0.208 280.2);
Tailwind
colors: {
  custom: {
    50: '#9580e8',
    500: '#5a4edc',
    950: '#000000',
  },
}
SCSS
$custom: #5a4edc;
$custom-light: #9580e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4edc",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 245.07,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5226,
    "c": 0.20801,
    "h": 280.2
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#5A4EDC
secondary
#DADFA7
accent
#EA3EDB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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