#5E50D7#5E50D7

#5E50D7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.5% C 0.199 H 281.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5E50D7
RGBrgb(94, 80, 215)
HSLhsl(246, 63%, 58%)
HSVhsv(246, 63%, 84%)
CMYKcmyk(56.3%, 62.8%, 0%, 15.7%)
CIE-LABlab(42.80, 42.70, -67.67)
CIE-LCHlch(42.80, 80.02, 302.25°)
OKLaboklab(52.47% 0.0406 -0.1945)
OKLCHoklch(52.47% 0.199 281.8)
XYZxyz(19.7467, 13.0220, 65.7498)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E50D7 #C9D750
analogous
#5086D7 #5E50D7 #A150D7
triadic
#5E50D7 #D75E50 #50D75E
tetradic
#5E50D7 #D75086 #C9D750 #50D7A1
square
#5E50D7 #D75086 #C9D750 #50D7A1
split-complementary
#5E50D7 #D7A150 #86D750
monochromatic
#2B208C #3B2BBE #5E50D7 #8C82E2 #BAB4EE

Accessibility & contrast

On white

5.83
#5E50D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5E50D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E50D7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E50D7#FFFFFF#000000##FFFFFF
##5E50D71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#1E718C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e50d7;
/* rgb */ color: rgb(94, 80, 215);
/* oklch */ color: oklch(52.5% 0.199 281.8);
Tailwind
colors: {
  custom: {
    50: '#9782e4',
    500: '#5e50d7',
    950: '#000000',
  },
}
SCSS
$custom: #5e50d7;
$custom-light: #9782e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e50d7",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 246.222,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.19866,
    "h": 281.8
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#5E50D7
secondary
#D7DCA6
accent
#E642D5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5E50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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