#5E49CD#5E49CD

#5E49CD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.6% C 0.195 H 284.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5E49CD
RGBrgb(94, 73, 205)
HSLhsl(250, 57%, 55%)
HSVhsv(250, 64%, 80%)
CMYKcmyk(54.1%, 64.4%, 0%, 19.6%)
CIE-LABlab(40.49, 43.70, -65.67)
CIE-LCHlch(40.49, 78.88, 303.64°)
OKLaboklab(50.56% 0.048 -0.1886)
OKLCHoklch(50.56% 0.195 284.3)
XYZxyz(18.0147, 11.5515, 59.0262)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49CD #B8CD49
analogous
#4976CD #5E49CD #A049CD
triadic
#5E49CD #CD5E49 #49CD5E
tetradic
#5E49CD #CD4976 #B8CD49 #49CDA0
square
#5E49CD #CD4976 #B8CD49 #49CDA0
split-complementary
#5E49CD #CDA049 #76CD49
monochromatic
#30227A #422FAA #5E49CD #8879DA #B3A9E7

Accessibility & contrast

On white

6.34
#5E49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5E49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49CD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49CD#FFFFFF#000000##FFFFFF
##5E49CD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#2D6A84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e49cd;
/* rgb */ color: rgb(94, 73, 205);
/* oklch */ color: oklch(50.6% 0.195 284.3);
Tailwind
colors: {
  custom: {
    50: '#967ddd',
    500: '#5e49cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e49cd;
$custom-light: #967ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49cd",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 249.545,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.19462,
    "h": 284.3
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#5E49CD
secondary
#CCD59D
accent
#E048C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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