#5E4DBA#5E4DBA

#5E4DBA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.165 H 285.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5E4DBA
RGBrgb(94, 77, 186)
HSLhsl(249, 44%, 52%)
HSVhsv(249, 59%, 73%)
CMYKcmyk(49.5%, 58.6%, 0%, 27.1%)
CIE-LABlab(39.97, 35.58, -55.47)
CIE-LCHlch(39.97, 65.90, 302.68°)
OKLaboklab(49.72% 0.0451 -0.1586)
OKLCHoklch(49.72% 0.165 285.9)
XYZxyz(16.1303, 11.2318, 47.7629)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DBA #A9BA4D
analogous
#4D73BA #5E4DBA #954DBA
triadic
#5E4DBA #BA5E4D #4DBA5E
tetradic
#5E4DBA #BA4D73 #A9BA4D #4DBA95
square
#5E4DBA #BA4D73 #A9BA4D #4DBA95
split-complementary
#5E4DBA #BA954D #73BA4D
monochromatic
#312765 #463891 #5E4DBA #8679CB #AEA5DC

Accessibility & contrast

On white

6.47
#5E4DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5E4DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DBA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DBA#FFFFFF#000000##FFFFFF
##5E4DBA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#3D667C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e4dba;
/* rgb */ color: rgb(94, 77, 186);
/* oklch */ color: oklch(49.7% 0.165 285.9);
Tailwind
colors: {
  custom: {
    50: '#937fcf',
    500: '#5e4dba',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dba;
$custom-light: #937fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dba",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 249.358,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.16488,
    "h": 285.9
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#5E4DBA
secondary
#C2C999
accent
#D454C0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5E4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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