#5D45D7#5D45D7

#5D45D7 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.212 H 283.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5D45D7
RGBrgb(93, 69, 215)
HSLhsl(250, 65%, 56%)
HSVhsv(250, 68%, 84%)
CMYKcmyk(56.7%, 67.9%, 0%, 15.7%)
CIE-LABlab(40.39, 48.80, -71.60)
CIE-LCHlch(40.39, 86.65, 304.27°)
OKLaboklab(50.71% 0.0489 -0.2061)
OKLCHoklch(50.71% 0.212 283.3)
XYZxyz(18.9043, 11.4885, 65.4982)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45D7 #BFD745
analogous
#4576D7 #5D45D7 #A645D7
triadic
#5D45D7 #D75D45 #45D75D
tetradic
#5D45D7 #D74576 #BFD745 #45D7A6
square
#5D45D7 #D74576 #BFD745 #45D7A6
split-complementary
#5D45D7 #D7A645 #76D745
monochromatic
#2E1D85 #3F27B7 #5D45D7 #8977E2 #B5AAED

Accessibility & contrast

On white

6.37
#5D45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5D45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45D7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45D7#FFFFFF#000000##FFFFFF
##5D45D71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#1C6B88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d45d7;
/* rgb */ color: rgb(93, 69, 215);
/* oklch */ color: oklch(50.7% 0.212 283.3);
Tailwind
colors: {
  custom: {
    50: '#977be4',
    500: '#5d45d7',
    950: '#000000',
  },
}
SCSS
$custom: #5d45d7;
$custom-light: #977be4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45d7",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 249.863,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.21178,
    "h": 283.3
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#5D45D7
secondary
#D0DA9E
accent
#E840CC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5D45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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