#5E4FC8#5E4FC8

#5E4FC8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.181 H 283.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5E4FC8
RGBrgb(94, 79, 200)
HSLhsl(247, 52%, 55%)
HSVhsv(247, 61%, 78%)
CMYKcmyk(53%, 60.5%, 0%, 21.6%)
CIE-LABlab(41.44, 38.67, -61.24)
CIE-LCHlch(41.44, 72.43, 302.27°)
OKLaboklab(51.13% 0.0425 -0.1756)
OKLCHoklch(51.13% 0.181 283.6)
XYZxyz(17.8342, 12.1408, 56.0360)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FC8 #B9C84F
analogous
#4F7DC8 #5E4FC8 #9B4FC8
triadic
#5E4FC8 #C85E4F #4FC85E
tetradic
#5E4FC8 #C84F7D #B9C84F #4FC89B
square
#5E4FC8 #C84F7D #B9C84F #4FC89B
split-complementary
#5E4FC8 #C89B4F #7DC84F
monochromatic
#2F2577 #4234A6 #5E4FC8 #897ED7 #B3ACE5

Accessibility & contrast

On white

6.13
#5E4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5E4FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FC8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FC8#FFFFFF#000000##FFFFFF
##5E4FC81.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#316C84
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4fc8;
/* rgb */ color: rgb(94, 79, 200);
/* oklch */ color: oklch(51.1% 0.181 283.6);
Tailwind
colors: {
  custom: {
    50: '#9481da',
    500: '#5e4fc8',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fc8;
$custom-light: #9481da;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fc8",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 247.438,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.18065,
    "h": 283.6
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#5E4FC8
secondary
#CDD3A0
accent
#DC4CCA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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