#5E4BD9#5E4BD9

#5E4BD9 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.207 H 282.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5E4BD9
RGBrgb(94, 75, 217)
HSLhsl(248, 65%, 57%)
HSVhsv(248, 65%, 85%)
CMYKcmyk(56.7%, 65.4%, 0%, 14.9%)
CIE-LABlab(41.88, 46.20, -70.32)
CIE-LCHlch(41.88, 84.14, 303.30°)
OKLaboklab(51.85% 0.0448 -0.2023)
OKLCHoklch(51.85% 0.207 282.5)
XYZxyz(19.6527, 12.4203, 66.9940)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BD9 #C6D94B
analogous
#4B7FD9 #5E4BD9 #A54BD9
triadic
#5E4BD9 #D95E4B #4BD95E
tetradic
#5E4BD9 #D94B7F #C6D94B #4BD9A5
square
#5E4BD9 #D94B7F #C6D94B #4BD9A5
split-complementary
#5E4BD9 #D9A54B #7FD94B
monochromatic
#2C1E8C #3C28BF #5E4BD9 #8B7EE4 #B8B0EE

Accessibility & contrast

On white

6.03
#5E4BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4BD9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BD9#FFFFFF#000000##FFFFFF
##5E4BD91.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e4bd9;
/* rgb */ color: rgb(94, 75, 217);
/* oklch */ color: oklch(51.9% 0.207 282.5);
Tailwind
colors: {
  custom: {
    50: '#977fe6',
    500: '#5e4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bd9;
$custom-light: #977fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bd9",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 248.028,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51854,
    "c": 0.20717,
    "h": 282.5
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#5E4BD9
secondary
#D5DDA3
accent
#E840D2
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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