#5C50E5#5C50E5

#5C50E5 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.217 H 279.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5C50E5
RGBrgb(92, 80, 229)
HSLhsl(245, 74%, 61%)
HSVhsv(245, 65%, 90%)
CMYKcmyk(59.8%, 65.1%, 0%, 10.2%)
CIE-LABlab(43.75, 46.72, -74.09)
CIE-LCHlch(43.75, 87.59, 302.23°)
OKLaboklab(53.47% 0.0367 -0.2134)
OKLCHoklch(53.47% 0.217 279.8)
XYZxyz(21.4207, 13.6682, 75.6230)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C50E5 #D9E550
analogous
#508EE5 #5C50E5 #A650E5
triadic
#5C50E5 #E55C50 #50E55C
tetradic
#5C50E5 #E5508E #D9E550 #50E5A6
square
#5C50E5 #E5508E #D9E550 #50E5A6
split-complementary
#5C50E5 #E5A650 #8EE550
monochromatic
#2318A2 #2F20D8 #5C50E5 #8E85ED #BFBBF5

Accessibility & contrast

On white

5.62
#5C50E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5C50E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C50E5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C50E5#FFFFFF#000000##FFFFFF
##5C50E51.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c50e5;
/* rgb */ color: rgb(92, 80, 229);
/* oklch */ color: oklch(53.5% 0.217 279.8);
Tailwind
colors: {
  custom: {
    50: '#9882ee',
    500: '#5c50e5',
    950: '#000000',
  },
}
SCSS
$custom: #5c50e5;
$custom-light: #9882ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c50e5",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 229
  },
  "hsl": {
    "h": 244.832,
    "s": 74.129,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.21652,
    "h": 279.8
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#5C50E5
secondary
#E0E5AC
accent
#D60FC6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C50E5

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

Preview Lab → · Contrast checker → · Palette generator →

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