#5D45DA#5D45DA

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

Color values

HEX#5D45DA
RGBrgb(93, 69, 218)
HSLhsl(250, 67%, 56%)
HSVhsv(250, 68%, 85%)
CMYKcmyk(57.3%, 68.3%, 0%, 14.5%)
CIE-LABlab(40.64, 49.69, -72.91)
CIE-LCHlch(40.64, 88.23, 304.28°)
OKLaboklab(50.97% 0.0484 -0.2099)
OKLCHoklch(50.97% 0.215 283)
XYZxyz(19.2933, 11.6441, 67.5470)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45DA #C2DA45
analogous
#4578DA #5D45DA #A745DA
triadic
#5D45DA #DA5D45 #45DA5D
tetradic
#5D45DA #DA4578 #C2DA45 #45DAA7
square
#5D45DA #DA4578 #C2DA45 #45DAA7
split-complementary
#5D45DA #DAA745 #78DA45
monochromatic
#2D1B89 #3E25BC #5D45DA #8978E4 #B6ABEE

Accessibility & contrast

On white

6.31
#5D45DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5D45DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45DA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45DA#FFFFFF#000000##FFFFFF
##5D45DA1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#156C8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d45da;
/* rgb */ color: rgb(93, 69, 218);
/* oklch */ color: oklch(51.0% 0.215 283.0);
Tailwind
colors: {
  custom: {
    50: '#977be7',
    500: '#5d45da',
    950: '#000000',
  },
}
SCSS
$custom: #5d45da;
$custom-light: #977be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45da",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 249.664,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50972,
    "c": 0.2154,
    "h": 283
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#5D45DA
secondary
#D2DC9F
accent
#EA3ECE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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