#5D46D7#5D46D7

#5D46D7 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.211 H 283.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5D46D7
RGBrgb(93, 70, 215)
HSLhsl(250, 64%, 56%)
HSVhsv(250, 67%, 84%)
CMYKcmyk(56.7%, 67.4%, 0%, 15.7%)
CIE-LABlab(40.59, 48.24, -71.27)
CIE-LCHlch(40.59, 86.07, 304.09°)
OKLaboklab(50.86% 0.0481 -0.2051)
OKLCHoklch(50.86% 0.211 283.2)
XYZxyz(18.9663, 11.6126, 65.5188)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46D7 #C0D746
analogous
#4677D7 #5D46D7 #A546D7
triadic
#5D46D7 #D75D46 #46D75D
tetradic
#5D46D7 #D74677 #C0D746 #46D7A5
square
#5D46D7 #D74677 #C0D746 #46D7A5
split-complementary
#5D46D7 #D7A546 #77D746
monochromatic
#2E1D86 #3F28B8 #5D46D7 #8978E2 #B5ABED

Accessibility & contrast

On white

6.32
#5D46D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5D46D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46D7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46D7#FFFFFF#000000##FFFFFF
##5D46D71.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#1B6C89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d46d7;
/* rgb */ color: rgb(93, 70, 215);
/* oklch */ color: oklch(50.9% 0.211 283.2);
Tailwind
colors: {
  custom: {
    50: '#977be4',
    500: '#5d46d7',
    950: '#000000',
  },
}
SCSS
$custom: #5d46d7;
$custom-light: #977be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46d7",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 249.517,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.21064,
    "h": 283.2
  },
  "luminance": 0.11614
}

Semantic roles & 50–950 ramp

primary
#5D46D7
secondary
#D1DA9E
accent
#E740CD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5D46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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