#5E50BD#5E50BD

#5E50BD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.165 H 284.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5E50BD
RGBrgb(94, 80, 189)
HSLhsl(248, 45%, 53%)
HSVhsv(248, 58%, 74%)
CMYKcmyk(50.3%, 57.7%, 0%, 25.9%)
CIE-LABlab(40.88, 34.69, -55.75)
CIE-LCHlch(40.88, 65.66, 301.89°)
OKLaboklab(50.46% 0.0417 -0.1594)
OKLCHoklch(50.46% 0.165 284.7)
XYZxyz(16.6673, 11.7903, 49.5318)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50BD #AFBD50
analogous
#5079BD #5E50BD #9450BD
triadic
#5E50BD #BD5E50 #50BD5E
tetradic
#5E50BD #BD5079 #AFBD50 #50BD94
square
#5E50BD #BD5079 #AFBD50 #50BD94
split-complementary
#5E50BD #BD9450 #79BD50
monochromatic
#31286A #453997 #5E50BD #877CCE #B0A9DF

Accessibility & contrast

On white

6.25
#5E50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5E50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50BD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50BD#FFFFFF#000000##FFFFFF
##5E50BD1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#3B697F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e50bd;
/* rgb */ color: rgb(94, 80, 189);
/* oklch */ color: oklch(50.5% 0.165 284.7);
Tailwind
colors: {
  custom: {
    50: '#9381d2',
    500: '#5e50bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e50bd;
$custom-light: #9381d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50bd",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 247.706,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50464,
    "c": 0.16478,
    "h": 284.7
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#5E50BD
secondary
#C6CC9D
accent
#D553C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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