#5D50E9#5D50E9

#5D50E9 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.9% C 0.221 H 279.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D50E9
RGBrgb(93, 80, 233)
HSLhsl(245, 78%, 61%)
HSVhsv(245, 66%, 91%)
CMYKcmyk(60.1%, 65.7%, 0%, 8.6%)
CIE-LABlab(44.16, 48.10, -75.70)
CIE-LCHlch(44.16, 89.69, 302.44°)
OKLaboklab(53.89% 0.0375 -0.2181)
OKLCHoklch(53.89% 0.221 279.8)
XYZxyz(22.0862, 13.9460, 78.6030)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50E9 #DCE950
analogous
#5090E9 #5D50E9 #AA50E9
triadic
#5D50E9 #E95D50 #50E95D
tetradic
#5D50E9 #E95090 #DCE950 #50E9AA
square
#5D50E9 #E95090 #DCE950 #50E9AA
split-complementary
#5D50E9 #E9AA50 #90E950
monochromatic
#2215A9 #2D1CE0 #5D50E9 #8F86F0 #C2BDF7

Accessibility & contrast

On white

5.54
#5D50E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5D50E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50E9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50E9#FFFFFF#000000##FFFFFF
##5D50E91.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d50e9;
/* rgb */ color: rgb(93, 80, 233);
/* oklch */ color: oklch(53.9% 0.221 279.8);
Tailwind
colors: {
  custom: {
    50: '#9982f1',
    500: '#5d50e9',
    950: '#000000',
  },
}
SCSS
$custom: #5d50e9;
$custom-light: #9982f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50e9",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 245.098,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.22126,
    "h": 279.8
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#5D50E9
secondary
#E2E7AE
accent
#DA0CC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D50E9

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

Preview Lab → · Contrast checker → · Palette generator →

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