#5E4AC7#5E4AC7

#5E4AC7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.186 H 284.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5E4AC7
RGBrgb(94, 74, 199)
HSLhsl(250, 53%, 54%)
HSVhsv(250, 63%, 78%)
CMYKcmyk(52.8%, 62.8%, 0%, 22%)
CIE-LABlab(40.25, 41.31, -62.60)
CIE-LCHlch(40.25, 75.00, 303.42°)
OKLaboklab(50.23% 0.0476 -0.1796)
OKLCHoklch(50.23% 0.186 284.8)
XYZxyz(17.3706, 11.3998, 55.3068)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AC7 #B3C74A
analogous
#4A74C7 #5E4AC7 #9C4AC7
triadic
#5E4AC7 #C75E4A #4AC75E
tetradic
#5E4AC7 #C74A74 #B3C74A #4AC79C
square
#5E4AC7 #C74A74 #B3C74A #4AC79C
split-complementary
#5E4AC7 #C79C4A #74C74A
monochromatic
#302473 #4432A2 #5E4AC7 #8879D5 #B1A7E4

Accessibility & contrast

On white

6.40
#5E4AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5E4AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AC7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AC7#FFFFFF#000000##FFFFFF
##5E4AC71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#336882
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4ac7;
/* rgb */ color: rgb(94, 74, 199);
/* oklch */ color: oklch(50.2% 0.186 284.8);
Tailwind
colors: {
  custom: {
    50: '#957dd9',
    500: '#5e4ac7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4ac7;
$custom-light: #957dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4ac7",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 249.6,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.18578,
    "h": 284.8
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#5E4AC7
secondary
#C9D19C
accent
#DC4CC5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E4AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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