#5A49EE#5A49EE

#5A49EE is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 53.1% C 0.235 H 279.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5A49EE
RGBrgb(90, 73, 238)
HSLhsl(246, 83%, 61%)
HSVhsv(246, 69%, 93%)
CMYKcmyk(62.2%, 69.3%, 0%, 6.7%)
CIE-LABlab(42.93, 53.12, -80.54)
CIE-LCHlch(42.93, 96.48, 303.40°)
OKLaboklab(53.08% 0.0382 -0.2323)
OKLCHoklch(53.08% 0.235 279.3)
XYZxyz(22.0267, 13.1101, 82.2421)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49EE #DDEE49
analogous
#498AEE #5A49EE #AC49EE
triadic
#5A49EE #EE5A49 #49EE5A
tetradic
#5A49EE #EE498A #DDEE49 #49EEAC
square
#5A49EE #EE498A #DDEE49 #49EEAC
split-complementary
#5A49EE #EEAC49 #8AEE49
monochromatic
#2010AC #2B15E4 #5A49EE #8D81F3 #BFB9F8

Accessibility & contrast

On white

5.80
#5A49EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5A49EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49EE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49EE#FFFFFF#000000##FFFFFF
##5A49EE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF3
Deuteranopia (green-blind)
#005FEB
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a49ee;
/* rgb */ color: rgb(90, 73, 238);
/* oklch */ color: oklch(53.1% 0.235 279.3);
Tailwind
colors: {
  custom: {
    50: '#997ef5',
    500: '#5a49ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a49ee;
$custom-light: #997ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49ee",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 238
  },
  "hsl": {
    "h": 246.182,
    "s": 82.915,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.23545,
    "h": 279.3
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#5A49EE
secondary
#E2E9AA
accent
#DF06C9
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A49EE

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

Preview Lab → · Contrast checker → · Palette generator →

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