#5A49CA#5A49CA

#5A49CA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.0% C 0.191 H 283.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5A49CA
RGBrgb(90, 73, 202)
HSLhsl(248, 55%, 54%)
HSVhsv(248, 64%, 79%)
CMYKcmyk(55.4%, 63.9%, 0%, 20.8%)
CIE-LABlab(39.92, 42.09, -64.89)
CIE-LCHlch(39.92, 77.35, 302.97°)
OKLaboklab(49.98% 0.043 -0.1864)
OKLCHoklch(49.98% 0.191 283)
XYZxyz(17.2564, 11.2020, 57.1186)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49CA #B9CA49
analogous
#4979CA #5A49CA #9B49CA
triadic
#5A49CA #CA5A49 #49CA5A
tetradic
#5A49CA #CA4979 #B9CA49 #49CA9B
square
#5A49CA #CA4979 #B9CA49 #49CA9B
split-complementary
#5A49CA #CA9B49 #79CA49
monochromatic
#2D2276 #4030A6 #5A49CA #8578D8 #B0A8E6

Accessibility & contrast

On white

6.48
#5A49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5A49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49CA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49CA#FFFFFF#000000##FFFFFF
##5A49CA1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#246983
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a49ca;
/* rgb */ color: rgb(90, 73, 202);
/* oklch */ color: oklch(50.0% 0.191 283.0);
Tailwind
colors: {
  custom: {
    50: '#937ddb',
    500: '#5a49ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a49ca;
$custom-light: #937ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49ca",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 247.907,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4998,
    "c": 0.19134,
    "h": 283
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#5A49CA
secondary
#CCD39C
accent
#DE4ACB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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