#5A49DB#5A49DB

#5A49DB is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.4% C 0.213 H 281.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5A49DB
RGBrgb(90, 73, 219)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 67%, 86%)
CMYKcmyk(58.9%, 66.7%, 0%, 14.1%)
CIE-LABlab(41.30, 47.32, -72.42)
CIE-LCHlch(41.30, 86.51, 303.16°)
OKLaboklab(51.41% 0.0411 -0.2085)
OKLCHoklch(51.41% 0.213 281.1)
XYZxyz(19.3812, 12.0519, 68.3090)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49DB #CADB49
analogous
#4981DB #5A49DB #A349DB
triadic
#5A49DB #DB5A49 #49DB5A
tetradic
#5A49DB #DB4981 #CADB49 #49DBA3
square
#5A49DB #DB4981 #CADB49 #49DBA3
split-complementary
#5A49DB #DBA349 #81DB49
monochromatic
#291C8E #3826C1 #5A49DB #887CE5 #B7AFEF

Accessibility & contrast

On white

6.16
#5A49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5A49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49DB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49DB#FFFFFF#000000##FFFFFF
##5A49DB1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a49db;
/* rgb */ color: rgb(90, 73, 219);
/* oklch */ color: oklch(51.4% 0.213 281.1);
Tailwind
colors: {
  custom: {
    50: '#967de7',
    500: '#5a49db',
    950: '#000000',
  },
}
SCSS
$custom: #5a49db;
$custom-light: #967de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49db",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 246.986,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.21256,
    "h": 281.1
  },
  "luminance": 0.12053
}

Semantic roles & 50–950 ramp

primary
#5A49DB
secondary
#D7DDA2
accent
#EA3ED6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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