#5A49CC#5A49CC

#5A49CC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.1% C 0.194 H 282.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5A49CC
RGBrgb(90, 73, 204)
HSLhsl(248, 56%, 54%)
HSVhsv(248, 64%, 80%)
CMYKcmyk(55.9%, 64.2%, 0%, 20%)
CIE-LABlab(40.08, 42.71, -65.79)
CIE-LCHlch(40.08, 78.44, 302.99°)
OKLaboklab(50.14% 0.0428 -0.1891)
OKLCHoklch(50.14% 0.194 282.8)
XYZxyz(17.4947, 11.2973, 58.3738)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49CC #BBCC49
analogous
#497ACC #5A49CC #9B49CC
triadic
#5A49CC #CC5A49 #49CC5A
tetradic
#5A49CC #CC497A #BBCC49 #49CC9B
square
#5A49CC #CC497A #BBCC49 #49CC9B
split-complementary
#5A49CC #CC9B49 #7ACC49
monochromatic
#2D2279 #3F2FA9 #5A49CC #8579D9 #B1A9E7

Accessibility & contrast

On white

6.44
#5A49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5A49CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49CC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49CC#FFFFFF#000000##FFFFFF
##5A49CC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#216A84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a49cc;
/* rgb */ color: rgb(90, 73, 204);
/* oklch */ color: oklch(50.1% 0.194 282.8);
Tailwind
colors: {
  custom: {
    50: '#937ddd',
    500: '#5a49cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a49cc;
$custom-light: #937ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49cc",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 247.786,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50144,
    "c": 0.19387,
    "h": 282.8
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

primary
#5A49CC
secondary
#CDD49D
accent
#E048CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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