#5D45EA#5D45EA

#5D45EA is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.4% C 0.234 H 281.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5D45EA
RGBrgb(93, 69, 234)
HSLhsl(249, 80%, 59%)
HSVhsv(249, 71%, 92%)
CMYKcmyk(60.3%, 70.5%, 0%, 8.2%)
CIE-LABlab(42.03, 54.45, -79.74)
CIE-LCHlch(42.03, 96.56, 304.33°)
OKLaboklab(52.39% 0.0456 -0.2299)
OKLCHoklch(52.39% 0.234 281.2)
XYZxyz(21.4889, 12.5224, 79.1106)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D45EA #D2EA45
analogous
#4580EA #5D45EA #AF45EA
triadic
#5D45EA #EA5D45 #45EA5D
tetradic
#5D45EA #EA4580 #D2EA45 #45EAAF
square
#5D45EA #EA4580 #D2EA45 #45EAAF
split-complementary
#5D45EA #EAAF45 #80EA45
monochromatic
#2712A2 #3519D9 #5D45EA #8D7CF0 #BDB3F6

Accessibility & contrast

On white

5.99
#5D45EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5D45EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D45EA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D45EA#FFFFFF#000000##FFFFFF
##5D45EA1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EF
Deuteranopia (green-blind)
#005DE7
Tritanopia (blue-blind)
#007293
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d45ea;
/* rgb */ color: rgb(93, 69, 234);
/* oklch */ color: oklch(52.4% 0.234 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a7bf2',
    500: '#5d45ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d45ea;
$custom-light: #9a7bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d45ea",
  "rgb": {
    "r": 93,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 248.727,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.23438,
    "h": 281.2
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#5D45EA
secondary
#DCE6A5
accent
#F632DA
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5D45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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