#5D49C8#5D49C8

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

Color values

HEX#5D49C8
RGBrgb(93, 73, 200)
HSLhsl(249, 54%, 54%)
HSVhsv(249, 64%, 78%)
CMYKcmyk(53.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(40.02, 42.01, -63.56)
CIE-LCHlch(40.02, 76.19, 303.46°)
OKLaboklab(50.07% 0.0471 -0.1824)
OKLCHoklch(50.07% 0.188 284.5)
XYZxyz(17.3189, 11.2614, 55.8935)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D49C8 #B4C849
analogous
#4974C8 #5D49C8 #9C49C8
triadic
#5D49C8 #C85D49 #49C85D
tetradic
#5D49C8 #C84974 #B4C849 #49C89C
square
#5D49C8 #C84974 #B4C849 #49C89C
split-complementary
#5D49C8 #C89C49 #74C849
monochromatic
#302374 #4331A3 #5D49C8 #8778D6 #B1A7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D49C8#FFFFFF#000000##FFFFFF
##5D49C81.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)
#0062CC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#306882
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d49c8;
/* rgb */ color: rgb(93, 73, 200);
/* oklch */ color: oklch(50.1% 0.188 284.5);
Tailwind
colors: {
  custom: {
    50: '#947dda',
    500: '#5d49c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d49c8;
$custom-light: #947dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5d49c8",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 249.449,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.18842,
    "h": 284.5
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#5D49C8
secondary
#C9D29B
accent
#DD4BC6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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