#5E4DBF#5E4DBF

#5E4DBF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.1% C 0.171 H 285.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5E4DBF
RGBrgb(94, 77, 191)
HSLhsl(249, 47%, 53%)
HSVhsv(249, 60%, 75%)
CMYKcmyk(50.8%, 59.7%, 0%, 25.1%)
CIE-LABlab(40.33, 37.10, -57.81)
CIE-LCHlch(40.33, 68.70, 302.69°)
OKLaboklab(50.1% 0.0449 -0.1655)
OKLCHoklch(50.1% 0.171 285.2)
XYZxyz(16.6711, 11.4482, 50.6114)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4DBF #AEBF4D
analogous
#4D75BF #5E4DBF #974DBF
triadic
#5E4DBF #BF5E4D #4DBF5E
tetradic
#5E4DBF #BF4D75 #AEBF4D #4DBF97
square
#5E4DBF #BF4D75 #AEBF4D #4DBF97
split-complementary
#5E4DBF #BF974D #75BF4D
monochromatic
#31276B #453798 #5E4DBF #877ACF #AFA7DF

Accessibility & contrast

On white

6.38
#5E4DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5E4DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4DBF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4DBF#FFFFFF#000000##FFFFFF
##5E4DBF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#3A687E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e4dbf;
/* rgb */ color: rgb(94, 77, 191);
/* oklch */ color: oklch(50.1% 0.171 285.2);
Tailwind
colors: {
  custom: {
    50: '#937fd3',
    500: '#5e4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4dbf;
$custom-light: #937fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4dbf",
  "rgb": {
    "r": 94,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 248.947,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.501,
    "c": 0.17149,
    "h": 285.2
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#5E4DBF
secondary
#C5CD9B
accent
#D751C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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