#5D45E0#5D45E0

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

Color values

HEX#5D45E0
RGBrgb(93, 69, 224)
HSLhsl(249, 71%, 57%)
HSVhsv(249, 69%, 88%)
CMYKcmyk(58.5%, 69.2%, 0%, 12.2%)
CIE-LABlab(41.16, 51.48, -75.50)
CIE-LCHlch(41.16, 91.38, 304.29°)
OKLaboklab(51.5% 0.0474 -0.2175)
OKLCHoklch(51.5% 0.223 282.3)
XYZxyz(20.0927, 11.9639, 71.7570)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45E0 #C8E045
analogous
#457BE0 #5D45E0 #AA45E0
triadic
#5D45E0 #E05D45 #45E05D
tetradic
#5D45E0 #E0457B #C8E045 #45E0AA
square
#5D45E0 #E0457B #C8E045 #45E0AA
split-complementary
#5D45E0 #E0AA45 #7BE045
monochromatic
#2B1892 #3B21C7 #5D45E0 #8B79E9 #B8AEF1

Accessibility & contrast

On white

6.19
#5D45E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5D45E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45E0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45E0#FFFFFF#000000##FFFFFF
##5D45E01.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#005CDD
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d45e0;
/* rgb */ color: rgb(93, 69, 224);
/* oklch */ color: oklch(51.5% 0.223 282.3);
Tailwind
colors: {
  custom: {
    50: '#987beb',
    500: '#5d45e0',
    950: '#000000',
  },
}
SCSS
$custom: #5d45e0;
$custom-light: #987beb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45e0",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 249.29,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51498,
    "c": 0.22258,
    "h": 282.3
  },
  "luminance": 0.11965
}

Semantic roles & 50–950 ramp

primary
#5D45E0
secondary
#D6E0A1
accent
#EE3AD2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D45E0

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

Preview Lab → · Contrast checker → · Palette generator →

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