#5E45DF#5E45DF

#5E45DF is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.5% C 0.221 H 282.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5E45DF
RGBrgb(94, 69, 223)
HSLhsl(250, 71%, 57%)
HSVhsv(250, 69%, 87%)
CMYKcmyk(57.8%, 69.1%, 0%, 12.5%)
CIE-LABlab(41.16, 51.33, -74.93)
CIE-LCHlch(41.16, 90.82, 304.41°)
OKLaboklab(51.49% 0.0489 -0.2158)
OKLCHoklch(51.49% 0.221 282.8)
XYZxyz(20.0594, 11.9623, 71.0497)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E45DF #C6DF45
analogous
#4579DF #5E45DF #AB45DF
triadic
#5E45DF #DF5E45 #45DF5E
tetradic
#5E45DF #DF4579 #C6DF45 #45DFAB
square
#5E45DF #DF4579 #C6DF45 #45DFAB
split-complementary
#5E45DF #DFAB45 #79DF45
monochromatic
#2C1991 #3C22C5 #5E45DF #8B79E8 #B8ADF1

Accessibility & contrast

On white

6.19
#5E45DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5E45DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E45DF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E45DF#FFFFFF#000000##FFFFFF
##5E45DF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#0D6E8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e45df;
/* rgb */ color: rgb(94, 69, 223);
/* oklch */ color: oklch(51.5% 0.221 282.8);
Tailwind
colors: {
  custom: {
    50: '#997bea',
    500: '#5e45df',
    950: '#000000',
  },
}
SCSS
$custom: #5e45df;
$custom-light: #997bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e45df",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 249.74,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.22125,
    "h": 282.8
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#5E45DF
secondary
#D5DFA1
accent
#ED3AD0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E45DF

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

Preview Lab → · Contrast checker → · Palette generator →

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