#5E45E1#5E45E1

#5E45E1 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.224 H 282.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5E45E1
RGBrgb(94, 69, 225)
HSLhsl(250, 72%, 58%)
HSVhsv(250, 69%, 88%)
CMYKcmyk(58.2%, 69.3%, 0%, 11.8%)
CIE-LABlab(41.33, 51.92, -75.79)
CIE-LCHlch(41.33, 91.86, 304.41°)
OKLaboklab(51.67% 0.0486 -0.2183)
OKLCHoklch(51.67% 0.224 282.5)
XYZxyz(20.3306, 12.0708, 72.4781)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E45E1 #C8E145
analogous
#457AE1 #5E45E1 #AC45E1
triadic
#5E45E1 #E15E45 #45E15E
tetradic
#5E45E1 #E1457A #C8E145 #45E1AC
square
#5E45E1 #E1457A #C8E145 #45E1AC
split-complementary
#5E45E1 #E1AC45 #7AE145
monochromatic
#2C1894 #3B20C8 #5E45E1 #8C7AE9 #B9AEF2

Accessibility & contrast

On white

6.15
#5E45E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E45E1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E45E1#FFFFFF#000000##FFFFFF
##5E45E11.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#046F8E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e45e1;
/* rgb */ color: rgb(94, 69, 225);
/* oklch */ color: oklch(51.7% 0.224 282.5);
Tailwind
colors: {
  custom: {
    50: '#997bec',
    500: '#5e45e1',
    950: '#000000',
  },
}
SCSS
$custom: #5e45e1;
$custom-light: #997bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e45e1",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 249.615,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.22362,
    "h": 282.5
  },
  "luminance": 0.12072
}

Semantic roles & 50–950 ramp

primary
#5E45E1
secondary
#D6E0A2
accent
#EF39D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E45E1

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

Preview Lab → · Contrast checker → · Palette generator →

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