#5E4CC7#5E4CC7

#5E4CC7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.6% C 0.183 H 284.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5E4CC7
RGBrgb(94, 76, 199)
HSLhsl(249, 52%, 54%)
HSVhsv(249, 62%, 78%)
CMYKcmyk(52.8%, 61.8%, 0%, 22%)
CIE-LABlab(40.69, 40.13, -61.88)
CIE-LCHlch(40.69, 73.76, 302.97°)
OKLaboklab(50.55% 0.0456 -0.1775)
OKLCHoklch(50.55% 0.183 284.4)
XYZxyz(17.5062, 11.6711, 55.3521)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CC7 #B5C74C
analogous
#4C78C7 #5E4CC7 #9B4CC7
triadic
#5E4CC7 #C75E4C #4CC75E
tetradic
#5E4CC7 #C74C78 #B5C74C #4CC79B
square
#5E4CC7 #C74C78 #B5C74C #4CC79B
split-complementary
#5E4CC7 #C79B4C #78C74C
monochromatic
#302474 #4333A3 #5E4CC7 #887BD6 #B2A9E4

Accessibility & contrast

On white

6.30
#5E4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4CC7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4CC7#FFFFFF#000000##FFFFFF
##5E4CC71.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#336A82
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4cc7;
/* rgb */ color: rgb(94, 76, 199);
/* oklch */ color: oklch(50.6% 0.183 284.4);
Tailwind
colors: {
  custom: {
    50: '#947fd9',
    500: '#5e4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cc7;
$custom-light: #947fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cc7",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 248.78,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.18323,
    "h": 284.4
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#5E4CC7
secondary
#CAD29D
accent
#DC4CC7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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