#5D46DF#5D46DF

#5D46DF is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.6% C 0.220 H 282.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5D46DF
RGBrgb(93, 70, 223)
HSLhsl(249, 71%, 57%)
HSVhsv(249, 69%, 87%)
CMYKcmyk(58.3%, 68.6%, 0%, 12.5%)
CIE-LABlab(41.27, 50.64, -74.74)
CIE-LCHlch(41.27, 90.28, 304.12°)
OKLaboklab(51.55% 0.0468 -0.2153)
OKLCHoklch(51.55% 0.22 282.3)
XYZxyz(20.0195, 12.0338, 71.0656)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46DF #C8DF46
analogous
#467BDF #5D46DF #AA46DF
triadic
#5D46DF #DF5D46 #46DF5D
tetradic
#5D46DF #DF467B #C8DF46 #46DFAA
square
#5D46DF #DF467B #C8DF46 #46DFAA
split-complementary
#5D46DF #DFAA46 #7BDF46
monochromatic
#2B1991 #3B22C6 #5D46DF #8B7AE8 #B8AEF1

Accessibility & contrast

On white

6.16
#5D46DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5D46DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46DF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46DF#FFFFFF#000000##FFFFFF
##5D46DF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#036E8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d46df;
/* rgb */ color: rgb(93, 70, 223);
/* oklch */ color: oklch(51.6% 0.220 282.3);
Tailwind
colors: {
  custom: {
    50: '#987bea',
    500: '#5d46df',
    950: '#000000',
  },
}
SCSS
$custom: #5d46df;
$custom-light: #987bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46df",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 249.02,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.2203,
    "h": 282.3
  },
  "luminance": 0.12035
}

Semantic roles & 50–950 ramp

primary
#5D46DF
secondary
#D6DFA2
accent
#ED3BD2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D46DF

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

Preview Lab → · Contrast checker → · Palette generator →

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