#5E4FAC#5E4FAC

#5E4FAC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.143 H 287.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5E4FAC
RGBrgb(94, 79, 172)
HSLhsl(250, 37%, 49%)
HSVhsv(250, 54%, 67%)
CMYKcmyk(45.3%, 54.1%, 0%, 32.5%)
CIE-LABlab(39.50, 30.13, -47.98)
CIE-LCHlch(39.50, 56.65, 302.13°)
OKLaboklab(49.07% 0.0426 -0.1366)
OKLCHoklch(49.07% 0.143 287.3)
XYZxyz(14.8563, 10.9496, 40.3524)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FAC #9DAC4F
analogous
#4F6FAC #5E4FAC #8D4FAC
triadic
#5E4FAC #AC5E4F #4FAC5E
tetradic
#5E4FAC #AC4F6F #9DAC4F #4FAC8D
square
#5E4FAC #AC4F6F #9DAC4F #4FAC8D
split-complementary
#5E4FAC #AC8D4F #6FAC4F
monochromatic
#302858 #473C82 #5E4FAC #8377C1 #AAA1D4

Accessibility & contrast

On white

6.58
#5E4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5E4FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FAC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FAC#FFFFFF#000000##FFFFFF
##5E4FAC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#205BAA
Tritanopia (blue-blind)
#466376
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e4fac;
/* rgb */ color: rgb(94, 79, 172);
/* oklch */ color: oklch(49.1% 0.143 287.3);
Tailwind
colors: {
  custom: {
    50: '#9180c5',
    500: '#5e4fac',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fac;
$custom-light: #9180c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fac",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 249.677,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.14304,
    "h": 287.3
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#5E4FAC
secondary
#BAC196
accent
#CD5BBB
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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