#5D45DD#5D45DD

#5D45DD is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.219 H 282.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5D45DD
RGBrgb(93, 69, 221)
HSLhsl(249, 69%, 57%)
HSVhsv(249, 69%, 87%)
CMYKcmyk(57.9%, 68.8%, 0%, 13.3%)
CIE-LABlab(40.90, 50.59, -74.21)
CIE-LCHlch(40.90, 89.81, 304.28°)
OKLaboklab(51.23% 0.0479 -0.2137)
OKLCHoklch(51.23% 0.219 282.6)
XYZxyz(19.6894, 11.8026, 69.6332)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45DD #C5DD45
analogous
#4579DD #5D45DD #A945DD
triadic
#5D45DD #DD5D45 #45DD5D
tetradic
#5D45DD #DD4579 #C5DD45 #45DDA9
square
#5D45DD #DD4579 #C5DD45 #45DDA9
split-complementary
#5D45DD #DDA945 #79DD45
monochromatic
#2C1A8E #3C23C1 #5D45DD #8A79E6 #B7ACF0

Accessibility & contrast

On white

6.25
#5D45DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5D45DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45DD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45DD#FFFFFF#000000##FFFFFF
##5D45DD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E2
Deuteranopia (green-blind)
#005BDA
Tritanopia (blue-blind)
#0C6D8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d45dd;
/* rgb */ color: rgb(93, 69, 221);
/* oklch */ color: oklch(51.2% 0.219 282.6);
Tailwind
colors: {
  custom: {
    50: '#987be9',
    500: '#5d45dd',
    950: '#000000',
  },
}
SCSS
$custom: #5d45dd;
$custom-light: #987be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45dd",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 249.474,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.219,
    "h": 282.6
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#5D45DD
secondary
#D4DEA0
accent
#EC3CD0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D45DD

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

Preview Lab → · Contrast checker → · Palette generator →

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