#5E4EC8#5E4EC8

#5E4EC8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.182 H 283.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5E4EC8
RGBrgb(94, 78, 200)
HSLhsl(248, 53%, 55%)
HSVhsv(248, 61%, 78%)
CMYKcmyk(53%, 61%, 0%, 21.6%)
CIE-LABlab(41.21, 39.26, -61.61)
CIE-LCHlch(41.21, 73.06, 302.51°)
OKLaboklab(50.96% 0.0435 -0.1767)
OKLCHoklch(50.96% 0.182 283.8)
XYZxyz(17.7626, 11.9976, 56.0122)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EC8 #B8C84E
analogous
#4E7BC8 #5E4EC8 #9B4EC8
triadic
#5E4EC8 #C85E4E #4EC85E
tetradic
#5E4EC8 #C84E7B #B8C84E #4EC89B
square
#5E4EC8 #C84E7B #B8C84E #4EC89B
split-complementary
#5E4EC8 #C89B4E #7BC84E
monochromatic
#302577 #4233A5 #5E4EC8 #887DD7 #B3ABE5

Accessibility & contrast

On white

6.18
#5E4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5E4EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EC8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EC8#FFFFFF#000000##FFFFFF
##5E4EC81.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#326B83
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e4ec8;
/* rgb */ color: rgb(94, 78, 200);
/* oklch */ color: oklch(51.0% 0.182 283.8);
Tailwind
colors: {
  custom: {
    50: '#9480da',
    500: '#5e4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ec8;
$custom-light: #9480da;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ec8",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 247.869,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.18194,
    "h": 283.8
  },
  "luminance": 0.11999
}

Semantic roles & 50–950 ramp

primary
#5E4EC8
secondary
#CCD39F
accent
#DC4CC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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