#5D46E2#5D46E2

#5D46E2 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.8% C 0.224 H 281.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5D46E2
RGBrgb(93, 70, 226)
HSLhsl(249, 73%, 58%)
HSVhsv(249, 69%, 89%)
CMYKcmyk(58.8%, 69%, 0%, 11.4%)
CIE-LABlab(41.53, 51.53, -76.03)
CIE-LCHlch(41.53, 91.85, 304.13°)
OKLaboklab(51.81% 0.0463 -0.219)
OKLCHoklch(51.81% 0.224 281.9)
XYZxyz(20.4275, 12.1971, 73.2146)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46E2 #CBE246
analogous
#467DE2 #5D46E2 #AB46E2
triadic
#5D46E2 #E25D46 #46E25D
tetradic
#5D46E2 #E2467D #CBE246 #46E2AB
square
#5D46E2 #E2467D #CBE246 #46E2AB
split-complementary
#5D46E2 #E2AB46 #7DE246
monochromatic
#2A1896 #3920CB #5D46E2 #8B7BEA #BAB0F3

Accessibility & contrast

On white

6.11
#5D46E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5D46E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46E2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46E2#FFFFFF#000000##FFFFFF
##5D46E21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d46e2;
/* rgb */ color: rgb(93, 70, 226);
/* oklch */ color: oklch(51.8% 0.224 281.9);
Tailwind
colors: {
  custom: {
    50: '#987cec',
    500: '#5d46e2',
    950: '#000000',
  },
}
SCSS
$custom: #5d46e2;
$custom-light: #987cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46e2",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 248.846,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.22388,
    "h": 281.9
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#5D46E2
secondary
#D8E1A3
accent
#F038D5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D46E2

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

Preview Lab → · Contrast checker → · Palette generator →

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