#5D41EA#5D41EA

#5D41EA is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.9% C 0.238 H 281.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5D41EA
RGBrgb(93, 65, 234)
HSLhsl(250, 80%, 59%)
HSVhsv(250, 72%, 92%)
CMYKcmyk(60.3%, 72.2%, 0%, 8.2%)
CIE-LABlab(41.29, 56.53, -80.96)
CIE-LCHlch(41.29, 98.75, 304.92°)
OKLaboklab(51.86% 0.0484 -0.2334)
OKLCHoklch(51.86% 0.238 281.7)
XYZxyz(21.2511, 12.0468, 79.0314)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D41EA #CEEA41
analogous
#4179EA #5D41EA #B141EA
triadic
#5D41EA #EA5D41 #41EA5D
tetradic
#5D41EA #EA4179 #CEEA41 #41EAB1
square
#5D41EA #EA4179 #CEEA41 #41EAB1
split-complementary
#5D41EA #EAB141 #79EA41
monochromatic
#29129F #3718D6 #5D41EA #8C78F0 #BBAFF6

Accessibility & contrast

On white

6.16
#5D41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5D41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D41EA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D41EA#FFFFFF#000000##FFFFFF
##5D41EA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#005BE7
Tritanopia (blue-blind)
#007092
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d41ea;
/* rgb */ color: rgb(93, 65, 234);
/* oklch */ color: oklch(51.9% 0.238 281.7);
Tailwind
colors: {
  custom: {
    50: '#9a79f2',
    500: '#5d41ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d41ea;
$custom-light: #9a79f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d41ea",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 249.941,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.23842,
    "h": 281.7
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#5D41EA
secondary
#DAE5A2
accent
#F731D6
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100917
muted
#7F7B85

Preview Lab

Preview with #5D41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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