#5E4CD3#5E4CD3

#5E4CD3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.5% C 0.198 H 283.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5E4CD3
RGBrgb(94, 76, 211)
HSLhsl(248, 61%, 56%)
HSVhsv(248, 64%, 83%)
CMYKcmyk(55.5%, 64%, 0%, 17.3%)
CIE-LABlab(41.61, 43.80, -67.31)
CIE-LCHlch(41.61, 80.30, 303.05°)
OKLaboklab(51.51% 0.0446 -0.1934)
OKLCHoklch(51.51% 0.198 283)
XYZxyz(18.9548, 12.2506, 62.9812)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CD3 #C1D34C
analogous
#4C7ED3 #5E4CD3 #A24CD3
triadic
#5E4CD3 #D35E4C #4CD35E
tetradic
#5E4CD3 #D34C7E #C1D34C #4CD3A2
square
#5E4CD3 #D34C7E #C1D34C #4CD3A2
split-complementary
#5E4CD3 #D3A24C #7ED34C
monochromatic
#2E2084 #3F2DB5 #5E4CD3 #8A7DDF #B6AEEB

Accessibility & contrast

On white

6.09
#5E4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5E4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CD3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CD3#FFFFFF#000000##FFFFFF
##5E4CD31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4cd3;
/* rgb */ color: rgb(94, 76, 211);
/* oklch */ color: oklch(51.5% 0.198 283.0);
Tailwind
colors: {
  custom: {
    50: '#967fe1',
    500: '#5e4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cd3;
$custom-light: #967fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cd3",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 248,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51513,
    "c": 0.19849,
    "h": 283
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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