#5A49D5#5A49D5

#5A49D5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.205 H 281.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5A49D5
RGBrgb(90, 73, 213)
HSLhsl(247, 63%, 56%)
HSVhsv(247, 66%, 84%)
CMYKcmyk(57.7%, 65.7%, 0%, 16.5%)
CIE-LABlab(40.80, 45.48, -69.79)
CIE-LCHlch(40.80, 83.30, 303.09°)
OKLaboklab(50.9% 0.0418 -0.2008)
OKLCHoklch(50.9% 0.205 281.8)
XYZxyz(18.6055, 11.7416, 64.2238)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49D5 #C4D549
analogous
#497ED5 #5A49D5 #A049D5
triadic
#5A49D5 #D55A49 #49D55A
tetradic
#5A49D5 #D5497E #C4D549 #49D5A0
square
#5A49D5 #D5497E #C4D549 #49D5A0
split-complementary
#5A49D5 #D5A049 #7ED549
monochromatic
#2B1F85 #3B2AB7 #5A49D5 #877BE0 #B4ACEC

Accessibility & contrast

On white

6.27
#5A49D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5A49D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49D5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49D5#FFFFFF#000000##FFFFFF
##5A49D51.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#0E6D89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a49d5;
/* rgb */ color: rgb(90, 73, 213);
/* oklch */ color: oklch(50.9% 0.205 281.8);
Tailwind
colors: {
  custom: {
    50: '#957de3',
    500: '#5a49d5',
    950: '#000000',
  },
}
SCSS
$custom: #5a49d5;
$custom-light: #957de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49d5",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 247.286,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50895,
    "c": 0.20515,
    "h": 281.8
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#5A49D5
secondary
#D3DAA0
accent
#E642D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5A49D5

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

Preview Lab → · Contrast checker → · Palette generator →

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