#5E49C8#5E49C8

#5E49C8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.1% C 0.188 H 284.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5E49C8
RGBrgb(94, 73, 200)
HSLhsl(250, 54%, 54%)
HSVhsv(250, 64%, 78%)
CMYKcmyk(53%, 63.5%, 0%, 21.6%)
CIE-LABlab(40.10, 42.19, -63.41)
CIE-LCHlch(40.10, 76.16, 303.64°)
OKLaboklab(50.15% 0.0485 -0.182)
OKLCHoklch(50.15% 0.188 284.9)
XYZxyz(17.4208, 11.3140, 55.8982)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49C8 #B3C849
analogous
#4973C8 #5E49C8 #9D49C8
triadic
#5E49C8 #C85E49 #49C85E
tetradic
#5E49C8 #C84973 #B3C849 #49C89D
square
#5E49C8 #C84973 #B3C849 #49C89D
split-complementary
#5E49C8 #C89D49 #73C849
monochromatic
#302374 #4431A3 #5E49C8 #8878D6 #B1A7E4

Accessibility & contrast

On white

6.44
#5E49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5E49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49C8
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49C8#FFFFFF#000000##FFFFFF
##5E49C81.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#326882
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e49c8;
/* rgb */ color: rgb(94, 73, 200);
/* oklch */ color: oklch(50.1% 0.188 284.9);
Tailwind
colors: {
  custom: {
    50: '#957dda',
    500: '#5e49c8',
    950: '#000000',
  },
}
SCSS
$custom: #5e49c8;
$custom-light: #957dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49c8",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 249.921,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.18831,
    "h": 284.9
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#5E49C8
secondary
#C9D29B
accent
#DD4BC5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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