#5D46D9#5D46D9

#5D46D9 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.213 H 283.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5D46D9
RGBrgb(93, 70, 217)
HSLhsl(249, 66%, 56%)
HSVhsv(249, 68%, 85%)
CMYKcmyk(57.1%, 67.7%, 0%, 14.9%)
CIE-LABlab(40.76, 48.84, -72.15)
CIE-LCHlch(40.76, 87.12, 304.10°)
OKLaboklab(51.03% 0.0478 -0.2076)
OKLCHoklch(51.03% 0.213 283)
XYZxyz(19.2249, 11.7160, 66.8806)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46D9 #C2D946
analogous
#4679D9 #5D46D9 #A746D9
triadic
#5D46D9 #D95D46 #46D95D
tetradic
#5D46D9 #D94679 #C2D946 #46D9A7
square
#5D46D9 #D94679 #C2D946 #46D9A7
split-complementary
#5D46D9 #D9A746 #79D946
monochromatic
#2D1C89 #3E26BB #5D46D9 #8979E3 #B6ACEE

Accessibility & contrast

On white

6.28
#5D46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46D9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46D9#FFFFFF#000000##FFFFFF
##5D46D91.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#176C8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d46d9;
/* rgb */ color: rgb(93, 70, 217);
/* oklch */ color: oklch(51.0% 0.213 283.0);
Tailwind
colors: {
  custom: {
    50: '#977be6',
    500: '#5d46d9',
    950: '#000000',
  },
}
SCSS
$custom: #5d46d9;
$custom-light: #977be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46d9",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 249.388,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.21307,
    "h": 283
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#5D46D9
secondary
#D2DC9F
accent
#E93FCE
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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