#5E4DD3#5E4DD3

#5E4DD3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.7% C 0.197 H 282.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5E4DD3
RGBrgb(94, 77, 211)
HSLhsl(248, 60%, 56%)
HSVhsv(248, 64%, 83%)
CMYKcmyk(55.5%, 63.5%, 0%, 17.3%)
CIE-LABlab(41.83, 43.22, -66.96)
CIE-LCHlch(41.83, 79.69, 302.84°)
OKLaboklab(51.67% 0.0437 -0.1924)
OKLCHoklch(51.67% 0.197 282.8)
XYZxyz(19.0242, 12.3894, 63.0043)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DD3 #C2D34D
analogous
#4D7FD3 #5E4DD3 #A14DD3
triadic
#5E4DD3 #D35E4D #4DD35E
tetradic
#5E4DD3 #D34D7F #C2D34D #4DD3A1
square
#5E4DD3 #D34D7F #C2D34D #4DD3A1
split-complementary
#5E4DD3 #D3A14D #7FD34D
monochromatic
#2E2185 #3E2DB6 #5E4DD3 #8A7EDF #B7AFEB

Accessibility & contrast

On white

6.04
#5E4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5E4DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DD3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DD3#FFFFFF#000000##FFFFFF
##5E4DD31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#256E89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e4dd3;
/* rgb */ color: rgb(94, 77, 211);
/* oklch */ color: oklch(51.7% 0.197 282.8);
Tailwind
colors: {
  custom: {
    50: '#9680e1',
    500: '#5e4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dd3;
$custom-light: #9680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dd3",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 247.612,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51671,
    "c": 0.19727,
    "h": 282.8
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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