#5A49CD#5A49CD

#5A49CD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.2% C 0.195 H 282.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5A49CD
RGBrgb(90, 73, 205)
HSLhsl(248, 57%, 55%)
HSVhsv(248, 64%, 80%)
CMYKcmyk(56.1%, 64.4%, 0%, 19.6%)
CIE-LABlab(40.16, 43.02, -66.24)
CIE-LCHlch(40.16, 78.98, 303.00°)
OKLaboklab(50.23% 0.0427 -0.1904)
OKLCHoklch(50.23% 0.195 282.6)
XYZxyz(17.6150, 11.3454, 59.0074)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49CD #BCCD49
analogous
#497ACD #5A49CD #9C49CD
triadic
#5A49CD #CD5A49 #49CD5A
tetradic
#5A49CD #CD497A #BCCD49 #49CD9C
square
#5A49CD #CD497A #BCCD49 #49CD9C
split-complementary
#5A49CD #CD9C49 #7ACD49
monochromatic
#2D227A #3F2FAA #5A49CD #8679DA #B1A9E7

Accessibility & contrast

On white

6.42
#5A49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5A49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49CD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49CD#FFFFFF#000000##FFFFFF
##5A49CD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#206A84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a49cd;
/* rgb */ color: rgb(90, 73, 205);
/* oklch */ color: oklch(50.2% 0.195 282.6);
Tailwind
colors: {
  custom: {
    50: '#937ddd',
    500: '#5a49cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a49cd;
$custom-light: #937ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49cd",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 247.727,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50226,
    "c": 0.19513,
    "h": 282.6
  },
  "luminance": 0.11347
}

Semantic roles & 50–950 ramp

primary
#5A49CD
secondary
#CED59D
accent
#E048CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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