#5E4ECB#5E4ECB

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

Color values

HEX#5E4ECB
RGBrgb(94, 78, 203)
HSLhsl(248, 55%, 55%)
HSVhsv(248, 62%, 80%)
CMYKcmyk(53.7%, 61.6%, 0%, 20.4%)
CIE-LABlab(41.44, 40.18, -62.98)
CIE-LCHlch(41.44, 74.71, 302.54°)
OKLaboklab(51.19% 0.0433 -0.1807)
OKLCHoklch(51.19% 0.186 283.5)
XYZxyz(18.1167, 12.1392, 57.8768)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ECB #BBCB4E
analogous
#4E7CCB #5E4ECB #9C4ECB
triadic
#5E4ECB #CB5E4E #4ECB5E
tetradic
#5E4ECB #CB4E7C #BBCB4E #4ECB9C
square
#5E4ECB #CB4E7C #BBCB4E #4ECB9C
split-complementary
#5E4ECB #CB9C4E #7CCB4E
monochromatic
#2F247B #4132AA #5E4ECB #897DD9 #B4ADE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E4ECB#FFFFFF#000000##FFFFFF
##5E4ECB1.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)
#0066CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#2F6C85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e4ecb;
/* rgb */ color: rgb(94, 78, 203);
/* oklch */ color: oklch(51.2% 0.186 283.5);
Tailwind
colors: {
  custom: {
    50: '#9580dc',
    500: '#5e4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ecb;
$custom-light: #9580dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ecb",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 247.68,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.18582,
    "h": 283.5
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#5E4ECB
secondary
#CED5A0
accent
#DE4ACB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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