#5E4FBE#5E4FBE

#5E4FBE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.167 H 284.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5E4FBE
RGBrgb(94, 79, 190)
HSLhsl(248, 46%, 53%)
HSVhsv(248, 58%, 75%)
CMYKcmyk(50.5%, 58.4%, 0%, 25.5%)
CIE-LABlab(40.72, 35.60, -56.60)
CIE-LCHlch(40.72, 66.86, 302.17°)
OKLaboklab(50.37% 0.0428 -0.1619)
OKLCHoklch(50.37% 0.167 284.8)
XYZxyz(16.7036, 11.6885, 50.0812)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FBE #AFBE4F
analogous
#4F77BE #5E4FBE #954FBE
triadic
#5E4FBE #BE5E4F #4FBE5E
tetradic
#5E4FBE #BE4F77 #AFBE4F #4FBE95
square
#5E4FBE #BE4F77 #AFBE4F #4FBE95
split-complementary
#5E4FBE #BE954F #77BE4F
monochromatic
#31286B #453898 #5E4FBE #877CCF #B0A8DF

Accessibility & contrast

On white

6.29
#5E4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5E4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FBE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FBE#FFFFFF#000000##FFFFFF
##5E4FBE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#3A697F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e4fbe;
/* rgb */ color: rgb(94, 79, 190);
/* oklch */ color: oklch(50.4% 0.167 284.8);
Tailwind
colors: {
  custom: {
    50: '#9381d2',
    500: '#5e4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fbe;
$custom-light: #9381d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fbe",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 248.108,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.16747,
    "h": 284.8
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#5E4FBE
secondary
#C6CC9C
accent
#D652C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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