#5A49C8#5A49C8

#5A49C8 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.8% C 0.189 H 283.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5A49C8
RGBrgb(90, 73, 200)
HSLhsl(248, 54%, 54%)
HSVhsv(248, 64%, 78%)
CMYKcmyk(55%, 63.5%, 0%, 21.6%)
CIE-LABlab(39.76, 41.48, -63.98)
CIE-LCHlch(39.76, 76.25, 302.95°)
OKLaboklab(49.82% 0.0432 -0.1838)
OKLCHoklch(49.82% 0.189 283.2)
XYZxyz(17.0211, 11.1079, 55.8795)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49C8 #B7C849
analogous
#4978C8 #5A49C8 #9949C8
triadic
#5A49C8 #C85A49 #49C85A
tetradic
#5A49C8 #C84978 #B7C849 #49C899
square
#5A49C8 #C84978 #B7C849 #49C899
split-complementary
#5A49C8 #C89949 #78C849
monochromatic
#2E2374 #4031A3 #5A49C8 #8578D6 #AFA7E4

Accessibility & contrast

On white

6.52
#5A49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5A49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49C8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49C8#FFFFFF#000000##FFFFFF
##5A49C81.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#276882
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a49c8;
/* rgb */ color: rgb(90, 73, 200);
/* oklch */ color: oklch(49.8% 0.189 283.2);
Tailwind
colors: {
  custom: {
    50: '#937dda',
    500: '#5a49c8',
    950: '#000000',
  },
}
SCSS
$custom: #5a49c8;
$custom-light: #937dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49c8",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 248.031,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.18879,
    "h": 283.2
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#5A49C8
secondary
#CAD29B
accent
#DD4BC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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