#5E45E6#5E45E6

#5E45E6 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 52.1% C 0.230 H 282.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5E45E6
RGBrgb(94, 69, 230)
HSLhsl(249, 76%, 59%)
HSVhsv(249, 70%, 90%)
CMYKcmyk(59.1%, 70%, 0%, 9.8%)
CIE-LABlab(41.76, 53.40, -77.91)
CIE-LCHlch(41.76, 94.46, 304.43°)
OKLaboklab(52.11% 0.0477 -0.2245)
OKLCHoklch(52.11% 0.23 282)
XYZxyz(21.0227, 12.3477, 76.1231)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E45E6 #CDE645
analogous
#457CE6 #5E45E6 #AE45E6
triadic
#5E45E6 #E65E45 #45E65E
tetradic
#5E45E6 #E6457C #CDE645 #45E6AE
square
#5E45E6 #E6457C #CDE645 #45E6AE
split-complementary
#5E45E6 #E6AE45 #7CE645
monochromatic
#2A159C #381CD2 #5E45E6 #8D7BED #BBB1F5

Accessibility & contrast

On white

6.05
#5E45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5E45E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E45E6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E45E6#FFFFFF#000000##FFFFFF
##5E45E61.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005DE3
Tritanopia (blue-blind)
#007091
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e45e6;
/* rgb */ color: rgb(94, 69, 230);
/* oklch */ color: oklch(52.1% 0.230 282.0);
Tailwind
colors: {
  custom: {
    50: '#9a7bef',
    500: '#5e45e6',
    950: '#000000',
  },
}
SCSS
$custom: #5e45e6;
$custom-light: #9a7bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e45e6",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 249.317,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5211,
    "c": 0.22953,
    "h": 282
  },
  "luminance": 0.12349
}

Semantic roles & 50–950 ramp

primary
#5E45E6
secondary
#D9E3A4
accent
#F335D5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5E45E6

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

Preview Lab → · Contrast checker → · Palette generator →

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