#5E50BF#5E50BF

#5E50BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.167 H 284.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5E50BF
RGBrgb(94, 80, 191)
HSLhsl(248, 46%, 53%)
HSVhsv(248, 58%, 75%)
CMYKcmyk(50.8%, 58.1%, 0%, 25.1%)
CIE-LABlab(41.02, 35.30, -56.69)
CIE-LCHlch(41.02, 66.78, 301.91°)
OKLaboklab(50.61% 0.0417 -0.1622)
OKLCHoklch(50.61% 0.167 284.4)
XYZxyz(16.8859, 11.8777, 50.6830)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50BF #B1BF50
analogous
#5079BF #5E50BF #9650BF
triadic
#5E50BF #BF5E50 #50BF5E
tetradic
#5E50BF #BF5079 #B1BF50 #50BF96
square
#5E50BF #BF5079 #B1BF50 #50BF96
split-complementary
#5E50BF #BF9650 #79BF50
monochromatic
#30286D #44389A #5E50BF #877DCF #B0AAE0

Accessibility & contrast

On white

6.22
#5E50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5E50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50BF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50BF#FFFFFF#000000##FFFFFF
##5E50BF1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#396A80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e50bf;
/* rgb */ color: rgb(94, 80, 191);
/* oklch */ color: oklch(50.6% 0.167 284.4);
Tailwind
colors: {
  custom: {
    50: '#9381d3',
    500: '#5e50bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e50bf;
$custom-light: #9381d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50bf",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 247.568,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.16746,
    "h": 284.4
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#5E50BF
secondary
#C7CD9D
accent
#D652C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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