#5E4EAF#5E4EAF

#5E4EAF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.1% C 0.149 H 287.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5E4EAF
RGBrgb(94, 78, 175)
HSLhsl(250, 38%, 50%)
HSVhsv(250, 55%, 69%)
CMYKcmyk(46.3%, 55.4%, 0%, 31.4%)
CIE-LABlab(39.45, 31.65, -49.83)
CIE-LCHlch(39.45, 59.03, 302.42°)
OKLaboklab(49.1% 0.0439 -0.142)
OKLCHoklch(49.1% 0.149 287.2)
XYZxyz(15.0761, 10.9230, 41.8631)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EAF #9FAF4E
analogous
#4E6FAF #5E4EAF #8F4EAF
triadic
#5E4EAF #AF5E4E #4EAF5E
tetradic
#5E4EAF #AF4E6F #9FAF4E #4EAF8F
square
#5E4EAF #AF4E6F #9FAF4E #4EAF8F
split-complementary
#5E4EAF #AF8F4E #6FAF4E
monochromatic
#31285A #473B85 #5E4EAF #8478C3 #AAA2D6

Accessibility & contrast

On white

6.59
#5E4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5E4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EAF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EAF#FFFFFF#000000##FFFFFF
##5E4EAF1.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#185AAD
Tritanopia (blue-blind)
#446377
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e4eaf;
/* rgb */ color: rgb(94, 78, 175);
/* oklch */ color: oklch(49.1% 0.149 287.2);
Tailwind
colors: {
  custom: {
    50: '#9180c7',
    500: '#5e4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4eaf;
$custom-light: #9180c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4eaf",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 249.897,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49102,
    "c": 0.14863,
    "h": 287.2
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#5E4EAF
secondary
#BBC396
accent
#CE5ABB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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