#5E4BC2#5E4BC2

#5E4BC2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.0% C 0.178 H 285.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5E4BC2
RGBrgb(94, 75, 194)
HSLhsl(250, 49%, 53%)
HSVhsv(250, 61%, 76%)
CMYKcmyk(51.5%, 61.3%, 0%, 23.9%)
CIE-LABlab(40.09, 39.20, -59.94)
CIE-LCHlch(40.09, 71.63, 303.18°)
OKLaboklab(50% 0.0469 -0.1718)
OKLCHoklch(50% 0.178 285.3)
XYZxyz(16.8669, 11.3060, 52.3220)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BC2 #AFC24B
analogous
#4B73C2 #5E4BC2 #9A4BC2
triadic
#5E4BC2 #C25E4B #4BC25E
tetradic
#5E4BC2 #C24B73 #AFC24B #4BC29A
square
#5E4BC2 #C24B73 #AFC24B #4BC29A
split-complementary
#5E4BC2 #C29A4B #73C24B
monochromatic
#31256D #45359B #5E4BC2 #8779D1 #B0A6E1

Accessibility & contrast

On white

6.44
#5E4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5E4BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BC2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BC2#FFFFFF#000000##FFFFFF
##5E4BC21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#37677F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e4bc2;
/* rgb */ color: rgb(94, 75, 194);
/* oklch */ color: oklch(50.0% 0.178 285.3);
Tailwind
colors: {
  custom: {
    50: '#947ed5',
    500: '#5e4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bc2;
$custom-light: #947ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bc2",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 249.58,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49998,
    "c": 0.17806,
    "h": 285.3
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#5E4BC2
secondary
#C6CE9B
accent
#D94FC3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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