#5D45D9#5D45D9

#5D45D9 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.214 H 283.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5D45D9
RGBrgb(93, 69, 217)
HSLhsl(250, 66%, 56%)
HSVhsv(250, 68%, 85%)
CMYKcmyk(57.1%, 68.2%, 0%, 14.9%)
CIE-LABlab(40.56, 49.39, -72.48)
CIE-LCHlch(40.56, 87.71, 304.27°)
OKLaboklab(50.89% 0.0486 -0.2086)
OKLCHoklch(50.89% 0.214 283.1)
XYZxyz(19.1628, 11.5919, 66.8599)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45D9 #C1D945
analogous
#4577D9 #5D45D9 #A745D9
triadic
#5D45D9 #D95D45 #45D95D
tetradic
#5D45D9 #D94577 #C1D945 #45D9A7
square
#5D45D9 #D94577 #C1D945 #45D9A7
split-complementary
#5D45D9 #D9A745 #77D945
monochromatic
#2D1C88 #3E26BB #5D45D9 #8978E3 #B6ABEE

Accessibility & contrast

On white

6.33
#5D45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5D45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45D9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45D9#FFFFFF#000000##FFFFFF
##5D45D91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d45d9;
/* rgb */ color: rgb(93, 69, 217);
/* oklch */ color: oklch(50.9% 0.214 283.1);
Tailwind
colors: {
  custom: {
    50: '#977be6',
    500: '#5d45d9',
    950: '#000000',
  },
}
SCSS
$custom: #5d45d9;
$custom-light: #977be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45d9",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 249.73,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.2142,
    "h": 283.1
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#5D45D9
secondary
#D2DB9E
accent
#E93FCD
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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