#5E50BB#5E50BB

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

Color values

HEX#5E50BB
RGBrgb(94, 80, 187)
HSLhsl(248, 44%, 52%)
HSVhsv(248, 57%, 73%)
CMYKcmyk(49.7%, 57.2%, 0%, 26.7%)
CIE-LABlab(40.74, 34.07, -54.80)
CIE-LCHlch(40.74, 64.53, 301.87°)
OKLaboklab(50.32% 0.0417 -0.1566)
OKLCHoklch(50.32% 0.162 284.9)
XYZxyz(16.4517, 11.7041, 48.3963)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50BB #ADBB50
analogous
#5078BB #5E50BB #9350BB
triadic
#5E50BB #BB5E50 #50BB5E
tetradic
#5E50BB #BB5078 #ADBB50 #50BB93
square
#5E50BB #BB5078 #ADBB50 #50BB93
split-complementary
#5E50BB #BB9350 #78BB50
monochromatic
#312868 #453A94 #5E50BB #877CCC #AFA8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E50BB#FFFFFF#000000##FFFFFF
##5E50BB1.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)
#0063BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#3C687E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e50bb;
/* rgb */ color: rgb(94, 80, 187);
/* oklch */ color: oklch(50.3% 0.162 284.9);
Tailwind
colors: {
  custom: {
    50: '#9381d0',
    500: '#5e50bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e50bb;
$custom-light: #9381d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50bb",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 247.85,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50317,
    "c": 0.1621,
    "h": 284.9
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#5E50BB
secondary
#C5CB9C
accent
#D454C3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5E50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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