#5D49E7#5D49E7

#5D49E7 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.7% C 0.227 H 281.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5D49E7
RGBrgb(93, 73, 231)
HSLhsl(248, 77%, 60%)
HSVhsv(248, 68%, 91%)
CMYKcmyk(59.7%, 68.4%, 0%, 9.4%)
CIE-LABlab(42.55, 51.40, -77.19)
CIE-LCHlch(42.55, 92.74, 303.66°)
OKLaboklab(52.68% 0.0432 -0.2224)
OKLCHoklch(52.68% 0.227 281)
XYZxyz(21.3160, 12.8602, 76.9448)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D49E7 #D3E749
analogous
#4984E7 #5D49E7 #AC49E7
triadic
#5D49E7 #E75D49 #49E75D
tetradic
#5D49E7 #E74984 #D3E749 #49E7AC
square
#5D49E7 #E74984 #D3E749 #49E7AC
split-complementary
#5D49E7 #E7AC49 #84E749
monochromatic
#2715A0 #341CD7 #5D49E7 #8D7FEE #BDB5F5

Accessibility & contrast

On white

5.88
#5D49E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5D49E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D49E7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D49E7#FFFFFF#000000##FFFFFF
##5D49E71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d49e7;
/* rgb */ color: rgb(93, 73, 231);
/* oklch */ color: oklch(52.7% 0.227 281.0);
Tailwind
colors: {
  custom: {
    50: '#997ef0',
    500: '#5d49e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d49e7;
$custom-light: #997ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d49e7",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 247.595,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.2266,
    "h": 281
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#5D49E7
secondary
#DDE5A7
accent
#F335DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D49E7

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

Preview Lab → · Contrast checker → · Palette generator →

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