#5D45DF#5D45DF

#5D45DF is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.221 H 282.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5D45DF
RGBrgb(93, 69, 223)
HSLhsl(249, 71%, 57%)
HSVhsv(249, 69%, 87%)
CMYKcmyk(58.3%, 69.1%, 0%, 12.5%)
CIE-LABlab(41.07, 51.18, -75.07)
CIE-LCHlch(41.07, 90.86, 304.29°)
OKLaboklab(51.41% 0.0476 -0.2162)
OKLCHoklch(51.41% 0.221 282.4)
XYZxyz(19.9575, 11.9098, 71.0449)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45DF #C7DF45
analogous
#457ADF #5D45DF #AA45DF
triadic
#5D45DF #DF5D45 #45DF5D
tetradic
#5D45DF #DF457A #C7DF45 #45DFAA
square
#5D45DF #DF457A #C7DF45 #45DFAA
split-complementary
#5D45DF #DFAA45 #7ADF45
monochromatic
#2C1991 #3B22C5 #5D45DF #8A79E8 #B8ADF1

Accessibility & contrast

On white

6.21
#5D45DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5D45DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45DF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45DF#FFFFFF#000000##FFFFFF
##5D45DF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d45df;
/* rgb */ color: rgb(93, 69, 223);
/* oklch */ color: oklch(51.4% 0.221 282.4);
Tailwind
colors: {
  custom: {
    50: '#987bea',
    500: '#5d45df',
    950: '#000000',
  },
}
SCSS
$custom: #5d45df;
$custom-light: #987bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45df",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 249.351,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51409,
    "c": 0.22139,
    "h": 282.4
  },
  "luminance": 0.11911
}

Semantic roles & 50–950 ramp

primary
#5D45DF
secondary
#D5DFA1
accent
#ED3AD2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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