#5A4DDB#5A4DDB

#5A4DDB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.208 H 280.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5A4DDB
RGBrgb(90, 77, 219)
HSLhsl(245, 66%, 58%)
HSVhsv(245, 65%, 86%)
CMYKcmyk(58.9%, 64.8%, 0%, 14.1%)
CIE-LABlab(42.15, 45.03, -71.04)
CIE-LCHlch(42.15, 84.11, 302.37°)
OKLaboklab(52.02% 0.0378 -0.2045)
OKLCHoklch(52.02% 0.208 280.5)
XYZxyz(19.6525, 12.5945, 68.3995)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4DDB #CEDB4D
analogous
#4D87DB #5A4DDB #A14DDB
triadic
#5A4DDB #DB5A4D #4DDB5A
tetradic
#5A4DDB #DB4D87 #CEDB4D #4DDBA1
square
#5A4DDB #DB4D87 #CEDB4D #4DDBA1
split-complementary
#5A4DDB #DBA14D #87DB4D
monochromatic
#281D90 #3627C3 #5A4DDB #8980E5 #B8B3F0

Accessibility & contrast

On white

5.97
#5A4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5A4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4DDB
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4DDB#FFFFFF#000000##FFFFFF
##5A4DDB1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a4ddb;
/* rgb */ color: rgb(90, 77, 219);
/* oklch */ color: oklch(52.0% 0.208 280.5);
Tailwind
colors: {
  custom: {
    50: '#9580e7',
    500: '#5a4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #5a4ddb;
$custom-light: #9580e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4ddb",
  "rgb": {
    "r": 90,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 245.493,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.20794,
    "h": 280.5
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#5A4DDB
secondary
#D9DEA6
accent
#E93FDA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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