#5A49C7#5A49C7

#5A49C7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.188 H 283.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5A49C7
RGBrgb(90, 73, 199)
HSLhsl(248, 53%, 53%)
HSVhsv(248, 63%, 78%)
CMYKcmyk(54.8%, 63.3%, 0%, 22%)
CIE-LABlab(39.68, 41.17, -63.53)
CIE-LCHlch(39.68, 75.70, 302.94°)
OKLaboklab(49.74% 0.0433 -0.1824)
OKLCHoklch(49.74% 0.188 283.3)
XYZxyz(16.9046, 11.0613, 55.2660)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49C7 #B6C749
analogous
#4977C7 #5A49C7 #9949C7
triadic
#5A49C7 #C75A49 #49C75A
tetradic
#5A49C7 #C74977 #B6C749 #49C799
square
#5A49C7 #C74977 #B6C749 #49C799
split-complementary
#5A49C7 #C79949 #77C749
monochromatic
#2E2372 #4132A1 #5A49C7 #8478D5 #AFA7E4

Accessibility & contrast

On white

6.54
#5A49C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5A49C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49C7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49C7#FFFFFF#000000##FFFFFF
##5A49C71.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#286881
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5a49c7;
/* rgb */ color: rgb(90, 73, 199);
/* oklch */ color: oklch(49.7% 0.188 283.3);
Tailwind
colors: {
  custom: {
    50: '#927dd9',
    500: '#5a49c7',
    950: '#000000',
  },
}
SCSS
$custom: #5a49c7;
$custom-light: #927dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49c7",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 248.095,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.18751,
    "h": 283.3
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#5A49C7
secondary
#CAD19B
accent
#DC4BC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A49C7

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

Preview Lab → · Contrast checker → · Palette generator →

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