#5D45DC#5D45DC

#5D45DC is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.218 H 282.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5D45DC
RGBrgb(93, 69, 220)
HSLhsl(250, 68%, 57%)
HSVhsv(250, 69%, 86%)
CMYKcmyk(57.7%, 68.6%, 0%, 13.7%)
CIE-LABlab(40.81, 50.29, -73.78)
CIE-LCHlch(40.81, 89.29, 304.28°)
OKLaboklab(51.15% 0.0481 -0.2124)
OKLCHoklch(51.15% 0.218 282.8)
XYZxyz(19.5566, 11.7494, 68.9336)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45DC #C4DC45
analogous
#4579DC #5D45DC #A845DC
triadic
#5D45DC #DC5D45 #45DC5D
tetradic
#5D45DC #DC4579 #C4DC45 #45DCA8
square
#5D45DC #DC4579 #C4DC45 #45DCA8
split-complementary
#5D45DC #DCA845 #79DC45
monochromatic
#2C1A8C #3D24C0 #5D45DC #8A79E6 #B7ACEF

Accessibility & contrast

On white

6.27
#5D45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5D45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45DC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45DC#FFFFFF#000000##FFFFFF
##5D45DC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#0F6D8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d45dc;
/* rgb */ color: rgb(93, 69, 220);
/* oklch */ color: oklch(51.1% 0.218 282.8);
Tailwind
colors: {
  custom: {
    50: '#987be8',
    500: '#5d45dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d45dc;
$custom-light: #987be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45dc",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 249.536,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.21781,
    "h": 282.8
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#5D45DC
secondary
#D3DDA0
accent
#EB3DCF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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