#5D45DE#5D45DE

#5D45DE is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.220 H 282.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5D45DE
RGBrgb(93, 69, 222)
HSLhsl(249, 70%, 57%)
HSVhsv(249, 69%, 87%)
CMYKcmyk(58.1%, 68.9%, 0%, 12.9%)
CIE-LABlab(40.99, 50.88, -74.64)
CIE-LCHlch(40.99, 90.33, 304.28°)
OKLaboklab(51.32% 0.0478 -0.2149)
OKLCHoklch(51.32% 0.22 282.5)
XYZxyz(19.8230, 11.8560, 70.3369)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45DE #C6DE45
analogous
#4579DE #5D45DE #AA45DE
triadic
#5D45DE #DE5D45 #45DE5D
tetradic
#5D45DE #DE4579 #C6DE45 #45DEAA
square
#5D45DE #DE4579 #C6DE45 #45DEAA
split-complementary
#5D45DE #DEAA45 #79DE45
monochromatic
#2C198F #3C23C3 #5D45DE #8A79E7 #B8ADF0

Accessibility & contrast

On white

6.23
#5D45DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5D45DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45DE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45DE#FFFFFF#000000##FFFFFF
##5D45DE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E3
Deuteranopia (green-blind)
#005BDB
Tritanopia (blue-blind)
#076E8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d45de;
/* rgb */ color: rgb(93, 69, 222);
/* oklch */ color: oklch(51.3% 0.220 282.5);
Tailwind
colors: {
  custom: {
    50: '#987be9',
    500: '#5d45de',
    950: '#000000',
  },
}
SCSS
$custom: #5d45de;
$custom-light: #987be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45de",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 249.412,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51321,
    "c": 0.22019,
    "h": 282.5
  },
  "luminance": 0.11857
}

Semantic roles & 50–950 ramp

primary
#5D45DE
secondary
#D5DFA0
accent
#ED3BD1
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D45DE

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

Preview Lab → · Contrast checker → · Palette generator →

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