#5E49CA#5E49CA

#5E49CA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.3% C 0.191 H 284.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5E49CA
RGBrgb(94, 73, 202)
HSLhsl(250, 55%, 54%)
HSVhsv(250, 64%, 79%)
CMYKcmyk(53.5%, 63.9%, 0%, 20.8%)
CIE-LABlab(40.26, 42.79, -64.32)
CIE-LCHlch(40.26, 77.25, 303.64°)
OKLaboklab(50.31% 0.0483 -0.1846)
OKLCHoklch(50.31% 0.191 284.7)
XYZxyz(17.6561, 11.4081, 57.1373)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49CA #B5CA49
analogous
#4975CA #5E49CA #9F49CA
triadic
#5E49CA #CA5E49 #49CA5E
tetradic
#5E49CA #CA4975 #B5CA49 #49CA9F
square
#5E49CA #CA4975 #B5CA49 #49CA9F
split-complementary
#5E49CA #CA9F49 #75CA49
monochromatic
#302276 #4330A6 #5E49CA #8878D8 #B2A8E6

Accessibility & contrast

On white

6.40
#5E49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5E49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49CA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49CA#FFFFFF#000000##FFFFFF
##5E49CA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#306983
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e49ca;
/* rgb */ color: rgb(94, 73, 202);
/* oklch */ color: oklch(50.3% 0.191 284.7);
Tailwind
colors: {
  custom: {
    50: '#957ddb',
    500: '#5e49ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e49ca;
$custom-light: #957ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49ca",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 249.767,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50311,
    "c": 0.19085,
    "h": 284.7
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#5E49CA
secondary
#CAD39C
accent
#DE4AC6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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