#5D46D2#5D46D2

#5D46D2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.205 H 283.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5D46D2
RGBrgb(93, 70, 210)
HSLhsl(250, 61%, 55%)
HSVhsv(250, 67%, 82%)
CMYKcmyk(55.7%, 66.7%, 0%, 17.6%)
CIE-LABlab(40.18, 46.74, -69.08)
CIE-LCHlch(40.18, 83.40, 304.09°)
OKLaboklab(50.43% 0.0488 -0.1986)
OKLCHoklch(50.43% 0.205 283.8)
XYZxyz(18.3337, 11.3595, 62.1868)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46D2 #BBD246
analogous
#4675D2 #5D46D2 #A346D2
triadic
#5D46D2 #D25D46 #46D25D
tetradic
#5D46D2 #D24675 #BBD246 #46D2A3
square
#5D46D2 #D24675 #BBD246 #46D2A3
split-complementary
#5D46D2 #D2A346 #75D246
monochromatic
#2F1F7F #412BB0 #5D46D2 #8877DE #B3A8EA

Accessibility & contrast

On white

6.42
#5D46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5D46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46D2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46D2#FFFFFF#000000##FFFFFF
##5D46D21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#246A86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d46d2;
/* rgb */ color: rgb(93, 70, 210);
/* oklch */ color: oklch(50.4% 0.205 283.8);
Tailwind
colors: {
  custom: {
    50: '#967be1',
    500: '#5d46d2',
    950: '#000000',
  },
}
SCSS
$custom: #5d46d2;
$custom-light: #967be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46d2",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 249.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.20454,
    "h": 283.8
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#5D46D2
secondary
#CED79C
accent
#E444CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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