#5E4CD9#5E4CD9

#5E4CD9 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.0% C 0.206 H 282.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5E4CD9
RGBrgb(94, 76, 217)
HSLhsl(248, 65%, 57%)
HSVhsv(248, 65%, 85%)
CMYKcmyk(56.7%, 65%, 0%, 14.9%)
CIE-LABlab(42.09, 45.63, -69.97)
CIE-LCHlch(42.09, 83.53, 303.11°)
OKLaboklab(52.01% 0.044 -0.2013)
OKLCHoklch(52.01% 0.206 282.3)
XYZxyz(19.7210, 12.5571, 67.0167)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CD9 #C7D94C
analogous
#4C80D9 #5E4CD9 #A54CD9
triadic
#5E4CD9 #D95E4C #4CD95E
tetradic
#5E4CD9 #D94C80 #C7D94C #4CD9A5
square
#5E4CD9 #D94C80 #C7D94C #4CD9A5
split-complementary
#5E4CD9 #D9A54C #80D94C
monochromatic
#2C1E8D #3C29BF #5E4CD9 #8B7EE4 #B9B1EE

Accessibility & contrast

On white

5.98
#5E4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5E4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4CD9
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CD9#FFFFFF#000000##FFFFFF
##5E4CD91.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#1B708C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e4cd9;
/* rgb */ color: rgb(94, 76, 217);
/* oklch */ color: oklch(52.0% 0.206 282.3);
Tailwind
colors: {
  custom: {
    50: '#977fe6',
    500: '#5e4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cd9;
$custom-light: #977fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cd9",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 247.66,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52007,
    "c": 0.20599,
    "h": 282.3
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#5E4CD9
secondary
#D6DDA4
accent
#E840D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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