#5E4FBD#5E4FBD

#5E4FBD is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.166 H 284.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5E4FBD
RGBrgb(94, 79, 189)
HSLhsl(248, 45%, 53%)
HSVhsv(248, 58%, 74%)
CMYKcmyk(50.3%, 58.2%, 0%, 25.9%)
CIE-LABlab(40.65, 35.29, -56.13)
CIE-LCHlch(40.65, 66.30, 302.16°)
OKLaboklab(50.29% 0.0428 -0.1605)
OKLCHoklch(50.29% 0.166 284.9)
XYZxyz(16.5946, 11.6449, 49.5075)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FBD #AEBD4F
analogous
#4F77BD #5E4FBD #954FBD
triadic
#5E4FBD #BD5E4F #4FBD5E
tetradic
#5E4FBD #BD4F77 #AEBD4F #4FBD95
square
#5E4FBD #BD4F77 #AEBD4F #4FBD95
split-complementary
#5E4FBD #BD954F #77BD4F
monochromatic
#31286A #453896 #5E4FBD #877CCE #AFA8DE

Accessibility & contrast

On white

6.31
#5E4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5E4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FBD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FBD#FFFFFF#000000##FFFFFF
##5E4FBD1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#3B687E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4fbd;
/* rgb */ color: rgb(94, 79, 189);
/* oklch */ color: oklch(50.3% 0.166 284.9);
Tailwind
colors: {
  custom: {
    50: '#9381d2',
    500: '#5e4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fbd;
$custom-light: #9381d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fbd",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 248.182,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50291,
    "c": 0.16615,
    "h": 284.9
  },
  "luminance": 0.11646
}

Semantic roles & 50–950 ramp

primary
#5E4FBD
secondary
#C5CC9C
accent
#D553C3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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