#5E4DD2#5E4DD2

#5E4DD2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.6% C 0.196 H 282.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5E4DD2
RGBrgb(94, 77, 210)
HSLhsl(248, 60%, 56%)
HSVhsv(248, 63%, 82%)
CMYKcmyk(55.2%, 63.3%, 0%, 17.6%)
CIE-LABlab(41.75, 42.91, -66.51)
CIE-LCHlch(41.75, 79.15, 302.83°)
OKLaboklab(51.59% 0.0438 -0.1911)
OKLCHoklch(51.59% 0.196 282.9)
XYZxyz(18.8993, 12.3394, 62.3461)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DD2 #C1D24D
analogous
#4D7FD2 #5E4DD2 #A14DD2
triadic
#5E4DD2 #D25E4D #4DD25E
tetradic
#5E4DD2 #D24D7F #C1D24D #4DD2A1
square
#5E4DD2 #D24D7F #C1D24D #4DD2A1
split-complementary
#5E4DD2 #D2A14D #7FD24D
monochromatic
#2E2183 #3F2EB4 #5E4DD2 #8A7EDE #B6AFEB

Accessibility & contrast

On white

6.06
#5E4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4DD2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DD2#FFFFFF#000000##FFFFFF
##5E4DD21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#266E88
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4dd2;
/* rgb */ color: rgb(94, 77, 210);
/* oklch */ color: oklch(51.6% 0.196 282.9);
Tailwind
colors: {
  custom: {
    50: '#9680e1',
    500: '#5e4dd2',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dd2;
$custom-light: #9680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dd2",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 247.669,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.19601,
    "h": 282.9
  },
  "luminance": 0.12341
}

Semantic roles & 50–950 ramp

primary
#5E4DD2
secondary
#D2D9A2
accent
#E345CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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