#5E4CD0#5E4CD0

#5E4CD0 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.3% C 0.195 H 283.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5E4CD0
RGBrgb(94, 76, 208)
HSLhsl(248, 58%, 56%)
HSVhsv(248, 63%, 82%)
CMYKcmyk(54.8%, 63.5%, 0%, 18.4%)
CIE-LABlab(41.38, 42.88, -65.97)
CIE-LCHlch(41.38, 78.68, 303.03°)
OKLaboklab(51.27% 0.0449 -0.1895)
OKLCHoklch(51.27% 0.195 283.3)
XYZxyz(18.5822, 12.1015, 61.0189)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CD0 #BED04C
analogous
#4C7CD0 #5E4CD0 #A04CD0
triadic
#5E4CD0 #D05E4C #4CD05E
tetradic
#5E4CD0 #D04C7C #BED04C #4CD0A0
square
#5E4CD0 #D04C7C #BED04C #4CD0A0
split-complementary
#5E4CD0 #D0A04C #7CD04C
monochromatic
#2E2280 #402EB0 #5E4CD0 #8A7CDD #B5ADE9

Accessibility & contrast

On white

6.14
#5E4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5E4CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CD0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CD0#FFFFFF#000000##FFFFFF
##5E4CD01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#296D87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4cd0;
/* rgb */ color: rgb(94, 76, 208);
/* oklch */ color: oklch(51.3% 0.195 283.3);
Tailwind
colors: {
  custom: {
    50: '#967fdf',
    500: '#5e4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cd0;
$custom-light: #967fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cd0",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 248.182,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5127,
    "c": 0.19471,
    "h": 283.3
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#5E4CD0
secondary
#D0D7A0
accent
#E246CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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