#5A49D8#5A49D8

#5A49D8 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.1% C 0.209 H 281.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A49D8
RGBrgb(90, 73, 216)
HSLhsl(247, 65%, 57%)
HSVhsv(247, 66%, 85%)
CMYKcmyk(58.3%, 66.2%, 0%, 15.3%)
CIE-LABlab(41.05, 46.40, -71.11)
CIE-LCHlch(41.05, 84.91, 303.12°)
OKLaboklab(51.15% 0.0415 -0.2047)
OKLCHoklch(51.15% 0.209 281.4)
XYZxyz(18.9898, 11.8953, 66.2478)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49D8 #C7D849
analogous
#4980D8 #5A49D8 #A249D8
triadic
#5A49D8 #D85A49 #49D85A
tetradic
#5A49D8 #D84980 #C7D849 #49D8A2
square
#5A49D8 #D84980 #C7D849 #49D8A2
split-complementary
#5A49D8 #D8A249 #80D849
monochromatic
#2A1D89 #3A28BC #5A49D8 #887BE3 #B5AEEE

Accessibility & contrast

On white

6.21
#5A49D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5A49D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49D8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49D8#FFFFFF#000000##FFFFFF
##5A49D81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#026E8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a49d8;
/* rgb */ color: rgb(90, 73, 216);
/* oklch */ color: oklch(51.1% 0.209 281.4);
Tailwind
colors: {
  custom: {
    50: '#957de5',
    500: '#5a49d8',
    950: '#000000',
  },
}
SCSS
$custom: #5a49d8;
$custom-light: #957de5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49d8",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 247.133,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.20887,
    "h": 281.4
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#5A49D8
secondary
#D5DCA1
accent
#E840D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A49D8

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

Preview Lab → · Contrast checker → · Palette generator →

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