#5E45DC#5E45DC

#5E45DC is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.218 H 283.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5E45DC
RGBrgb(94, 69, 220)
HSLhsl(250, 68%, 57%)
HSVhsv(250, 69%, 86%)
CMYKcmyk(57.3%, 68.6%, 0%, 13.7%)
CIE-LABlab(40.90, 50.44, -73.63)
CIE-LCHlch(40.90, 89.25, 304.41°)
OKLaboklab(51.23% 0.0494 -0.212)
OKLCHoklch(51.23% 0.218 283.1)
XYZxyz(19.6585, 11.8020, 68.9384)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E45DC #C3DC45
analogous
#4578DC #5E45DC #AA45DC
triadic
#5E45DC #DC5E45 #45DC5E
tetradic
#5E45DC #DC4578 #C3DC45 #45DCAA
square
#5E45DC #DC4578 #C3DC45 #45DCAA
split-complementary
#5E45DC #DCAA45 #78DC45
monochromatic
#2D1A8C #3E24C0 #5E45DC #8B79E6 #B7ACEF

Accessibility & contrast

On white

6.25
#5E45DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5E45DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E45DC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E45DC#FFFFFF#000000##FFFFFF
##5E45DC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#166D8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e45dc;
/* rgb */ color: rgb(94, 69, 220);
/* oklch */ color: oklch(51.2% 0.218 283.1);
Tailwind
colors: {
  custom: {
    50: '#987be8',
    500: '#5e45dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e45dc;
$custom-light: #987be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e45dc",
  "rgb": {
    "r": 94,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 249.934,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51228,
    "c": 0.21767,
    "h": 283.1
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#5E45DC
secondary
#D3DDA0
accent
#EB3DCE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E45DC

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

Preview Lab → · Contrast checker → · Palette generator →

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