#5A49EC#5A49EC

#5A49EC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.9% C 0.233 H 279.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5A49EC
RGBrgb(90, 73, 236)
HSLhsl(246, 81%, 61%)
HSVhsv(246, 69%, 93%)
CMYKcmyk(61.9%, 69.1%, 0%, 7.5%)
CIE-LABlab(42.75, 52.51, -79.70)
CIE-LCHlch(42.75, 95.44, 303.38°)
OKLaboklab(52.9% 0.0386 -0.2299)
OKLCHoklch(52.9% 0.233 279.5)
XYZxyz(21.7345, 12.9932, 80.7032)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49EC #DBEC49
analogous
#4989EC #5A49EC #AC49EC
triadic
#5A49EC #EC5A49 #49EC5A
tetradic
#5A49EC #EC4989 #DBEC49 #49ECAC
square
#5A49EC #EC4989 #DBEC49 #49ECAC
split-complementary
#5A49EC #ECAC49 #89EC49
monochromatic
#2112A9 #2C17E0 #5A49EC #8C80F2 #BEB8F8

Accessibility & contrast

On white

5.83
#5A49EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5A49EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49EC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49EC#FFFFFF#000000##FFFFFF
##5A49EC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005FE9
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a49ec;
/* rgb */ color: rgb(90, 73, 236);
/* oklch */ color: oklch(52.9% 0.233 279.5);
Tailwind
colors: {
  custom: {
    50: '#987ef3',
    500: '#5a49ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a49ec;
$custom-light: #987ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49ec",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 246.258,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.23308,
    "h": 279.5
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#5A49EC
secondary
#E1E7A9
accent
#DD08C7
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A49EC

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

Preview Lab → · Contrast checker → · Palette generator →

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