#5E49CF#5E49CF

#5E49CF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.7% C 0.197 H 284.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5E49CF
RGBrgb(94, 73, 207)
HSLhsl(249, 58%, 55%)
HSVhsv(249, 65%, 81%)
CMYKcmyk(54.6%, 64.7%, 0%, 18.8%)
CIE-LABlab(40.65, 44.30, -66.57)
CIE-LCHlch(40.65, 79.97, 303.65°)
OKLaboklab(50.72% 0.0478 -0.1912)
OKLCHoklch(50.72% 0.197 284)
XYZxyz(18.2577, 11.6487, 60.3057)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49CF #BACF49
analogous
#4977CF #5E49CF #A149CF
triadic
#5E49CF #CF5E49 #49CF5E
tetradic
#5E49CF #CF4977 #BACF49 #49CFA1
square
#5E49CF #CF4977 #BACF49 #49CFA1
split-complementary
#5E49CF #CFA149 #77CF49
monochromatic
#2F217D #422EAD #5E49CF #8979DC #B4AAE9

Accessibility & contrast

On white

6.31
#5E49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5E49CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49CF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49CF#FFFFFF#000000##FFFFFF
##5E49CF1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#2B6A85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e49cf;
/* rgb */ color: rgb(94, 73, 207);
/* oklch */ color: oklch(50.7% 0.197 284.0);
Tailwind
colors: {
  custom: {
    50: '#967ddf',
    500: '#5e49cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e49cf;
$custom-light: #967ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49cf",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 249.403,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.19712,
    "h": 284
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#5E49CF
secondary
#CDD69E
accent
#E146C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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