#5A49CB#5A49CB

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

Color values

HEX#5A49CB
RGBrgb(90, 73, 203)
HSLhsl(248, 56%, 54%)
HSVhsv(248, 64%, 80%)
CMYKcmyk(55.7%, 64%, 0%, 20.4%)
CIE-LABlab(40.00, 42.40, -65.34)
CIE-LCHlch(40.00, 77.89, 302.98°)
OKLaboklab(50.06% 0.0429 -0.1878)
OKLCHoklch(50.06% 0.193 282.9)
XYZxyz(17.3752, 11.2495, 57.7441)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49CB #BACB49
analogous
#4979CB #5A49CB #9B49CB
triadic
#5A49CB #CB5A49 #49CB5A
tetradic
#5A49CB #CB4979 #BACB49 #49CB9B
square
#5A49CB #CB4979 #BACB49 #49CB9B
split-complementary
#5A49CB #CB9B49 #79CB49
monochromatic
#2D2277 #3F30A7 #5A49CB #8579D9 #B0A8E6

Accessibility & contrast

On white

6.46
#5A49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5A49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49CB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49CB#FFFFFF#000000##FFFFFF
##5A49CB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#236983
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a49cb;
/* rgb */ color: rgb(90, 73, 203);
/* oklch */ color: oklch(50.1% 0.193 282.9);
Tailwind
colors: {
  custom: {
    50: '#937ddc',
    500: '#5a49cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a49cb;
$custom-light: #937ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49cb",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 247.846,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.1926,
    "h": 282.9
  },
  "luminance": 0.11251
}

Semantic roles & 50–950 ramp

primary
#5A49CB
secondary
#CCD49C
accent
#DF49CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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