#5E4ACB#5E4ACB

#5E4ACB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.5% C 0.191 H 284.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5E4ACB
RGBrgb(94, 74, 203)
HSLhsl(249, 55%, 54%)
HSVhsv(249, 64%, 80%)
CMYKcmyk(53.7%, 63.5%, 0%, 20.4%)
CIE-LABlab(40.55, 42.52, -64.42)
CIE-LCHlch(40.55, 77.19, 303.43°)
OKLaboklab(50.55% 0.0472 -0.1849)
OKLCHoklch(50.55% 0.191 284.3)
XYZxyz(17.8411, 11.5880, 57.7849)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ACB #B7CB4A
analogous
#4A77CB #5E4ACB #9E4ACB
triadic
#5E4ACB #CB5E4A #4ACB5E
tetradic
#5E4ACB #CB4A77 #B7CB4A #4ACB9E
square
#5E4ACB #CB4A77 #B7CB4A #4ACB9E
split-complementary
#5E4ACB #CB9E4A #77CB4A
monochromatic
#302378 #4330A8 #5E4ACB #887AD9 #B3A9E6

Accessibility & contrast

On white

6.33
#5E4ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5E4ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ACB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ACB#FFFFFF#000000##FFFFFF
##5E4ACB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#2F6A84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4acb;
/* rgb */ color: rgb(94, 74, 203);
/* oklch */ color: oklch(50.5% 0.191 284.3);
Tailwind
colors: {
  custom: {
    50: '#957edc',
    500: '#5e4acb',
    950: '#000000',
  },
}
SCSS
$custom: #5e4acb;
$custom-light: #957edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4acb",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 249.302,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.19086,
    "h": 284.3
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#5E4ACB
secondary
#CBD49D
accent
#DF49C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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