#5E4CBF#5E4CBF

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

Color values

HEX#5E4CBF
RGBrgb(94, 76, 191)
HSLhsl(249, 47%, 52%)
HSVhsv(249, 60%, 75%)
CMYKcmyk(50.8%, 60.2%, 0%, 25.1%)
CIE-LABlab(40.10, 37.70, -58.18)
CIE-LCHlch(40.10, 69.33, 302.94°)
OKLaboklab(49.93% 0.046 -0.1666)
OKLCHoklch(49.93% 0.173 285.4)
XYZxyz(16.6017, 11.3093, 50.5883)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4CBF #ADBF4C
analogous
#4C74BF #5E4CBF #974CBF
triadic
#5E4CBF #BF5E4C #4CBF5E
tetradic
#5E4CBF #BF4C74 #ADBF4C #4CBF97
square
#5E4CBF #BF4C74 #ADBF4C #4CBF97
split-complementary
#5E4CBF #BF974C #74BF4C
monochromatic
#31266B #453698 #5E4CBF #8779CF #AFA6DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E4CBF#FFFFFF#000000##FFFFFF
##5E4CBF1.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)
#0062C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#3A677E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e4cbf;
/* rgb */ color: rgb(94, 76, 191);
/* oklch */ color: oklch(49.9% 0.173 285.4);
Tailwind
colors: {
  custom: {
    50: '#937fd3',
    500: '#5e4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4cbf;
$custom-light: #937fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4cbf",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 249.391,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49932,
    "c": 0.17284,
    "h": 285.4
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#5E4CBF
secondary
#C5CC9A
accent
#D751C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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