#5E50CE#5E50CE

#5E50CE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.187 H 282.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5E50CE
RGBrgb(94, 80, 206)
HSLhsl(247, 56%, 56%)
HSVhsv(247, 61%, 81%)
CMYKcmyk(54.4%, 61.2%, 0%, 19.2%)
CIE-LABlab(42.11, 39.92, -63.62)
CIE-LCHlch(42.11, 75.11, 302.11°)
OKLaboklab(51.76% 0.0412 -0.1826)
OKLCHoklch(51.76% 0.187 282.7)
XYZxyz(18.6219, 12.5721, 59.8260)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50CE #C0CE50
analogous
#5081CE #5E50CE #9D50CE
triadic
#5E50CE #CE5E50 #50CE5E
tetradic
#5E50CE #CE5081 #C0CE50 #50CE9D
square
#5E50CE #CE5081 #C0CE50 #50CE9D
split-complementary
#5E50CE #CE9D50 #81CE50
monochromatic
#2E2480 #3F31B0 #5E50CE #8A80DB #B6B0E9

Accessibility & contrast

On white

5.98
#5E50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5E50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50CE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50CE#FFFFFF#000000##FFFFFF
##5E50CE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#2B6E87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e50ce;
/* rgb */ color: rgb(94, 80, 206);
/* oklch */ color: oklch(51.8% 0.187 282.7);
Tailwind
colors: {
  custom: {
    50: '#9582de',
    500: '#5e50ce',
    950: '#000000',
  },
}
SCSS
$custom: #5e50ce;
$custom-light: #9582de;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50ce",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 246.667,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.18714,
    "h": 282.7
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#5E50CE
secondary
#D1D7A3
accent
#E048CF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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