#5E49D9#5E49D9

#5E49D9 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.6% C 0.210 H 282.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5E49D9
RGBrgb(94, 73, 217)
HSLhsl(249, 65%, 57%)
HSVhsv(249, 66%, 85%)
CMYKcmyk(56.7%, 66.4%, 0%, 14.9%)
CIE-LABlab(41.46, 47.33, -71.00)
CIE-LCHlch(41.46, 85.33, 303.68°)
OKLaboklab(51.55% 0.0466 -0.2043)
OKLCHoklch(51.55% 0.21 282.8)
XYZxyz(19.5192, 12.1533, 66.9495)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49D9 #C4D949
analogous
#497CD9 #5E49D9 #A649D9
triadic
#5E49D9 #D95E49 #49D95E
tetradic
#5E49D9 #D9497C #C4D949 #49D9A6
square
#5E49D9 #D9497C #C4D949 #49D9A6
split-complementary
#5E49D9 #D9A649 #7CD949
monochromatic
#2D1D8B #3D28BD #5E49D9 #8B7CE4 #B8AEEE

Accessibility & contrast

On white

6.12
#5E49D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5E49D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49D9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49D9#FFFFFF#000000##FFFFFF
##5E49D91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#1C6E8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e49d9;
/* rgb */ color: rgb(94, 73, 217);
/* oklch */ color: oklch(51.6% 0.210 282.8);
Tailwind
colors: {
  custom: {
    50: '#977de6',
    500: '#5e49d9',
    950: '#000000',
  },
}
SCSS
$custom: #5e49d9;
$custom-light: #977de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49d9",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 217
  },
  "hsl": {
    "h": 248.75,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.20951,
    "h": 282.8
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

primary
#5E49D9
secondary
#D4DCA2
accent
#E83FD0
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E49D9

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

Preview Lab → · Contrast checker → · Palette generator →

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