#5A49CF#5A49CF

#5A49CF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.4% C 0.198 H 282.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5A49CF
RGBrgb(90, 73, 207)
HSLhsl(248, 58%, 55%)
HSVhsv(248, 65%, 81%)
CMYKcmyk(56.5%, 64.7%, 0%, 18.8%)
CIE-LABlab(40.32, 43.63, -67.13)
CIE-LCHlch(40.32, 80.07, 303.02°)
OKLaboklab(50.39% 0.0425 -0.193)
OKLCHoklch(50.39% 0.198 282.4)
XYZxyz(17.8580, 11.4426, 60.2870)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49CF #BECF49
analogous
#497BCF #5A49CF #9D49CF
triadic
#5A49CF #CF5A49 #49CF5A
tetradic
#5A49CF #CF497B #BECF49 #49CF9D
square
#5A49CF #CF497B #BECF49 #49CF9D
split-complementary
#5A49CF #CF9D49 #7BCF49
monochromatic
#2D217D #3E2EAD #5A49CF #8679DC #B2AAE9

Accessibility & contrast

On white

6.39
#5A49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5A49CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49CF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49CF#FFFFFF#000000##FFFFFF
##5A49CF1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#1C6B85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a49cf;
/* rgb */ color: rgb(90, 73, 207);
/* oklch */ color: oklch(50.4% 0.198 282.4);
Tailwind
colors: {
  custom: {
    50: '#947ddf',
    500: '#5a49cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a49cf;
$custom-light: #947ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49cf",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 247.612,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50392,
    "c": 0.19766,
    "h": 282.4
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#5A49CF
secondary
#CFD69E
accent
#E146CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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