#5C50EA#5C50EA

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

Color values

HEX#5C50EA
RGBrgb(92, 80, 234)
HSLhsl(245, 79%, 62%)
HSVhsv(245, 66%, 92%)
CMYKcmyk(60.7%, 65.8%, 0%, 8.2%)
CIE-LABlab(44.16, 48.27, -76.25)
CIE-LCHlch(44.16, 90.25, 302.33°)
OKLaboklab(53.9% 0.0361 -0.2197)
OKLCHoklch(53.9% 0.223 279.3)
XYZxyz(22.1288, 13.9515, 79.3527)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C50EA #DEEA50
analogous
#5091EA #5C50EA #A950EA
triadic
#5C50EA #EA5C50 #50EA5C
tetradic
#5C50EA #EA5091 #DEEA50 #50EAA9
square
#5C50EA #EA5091 #DEEA50 #50EAA9
split-complementary
#5C50EA #EAA950 #91EA50
monochromatic
#2015AB #2B1BE2 #5C50EA #8F87F1 #C2BDF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C50EA#FFFFFF#000000##FFFFFF
##5C50EA1.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)
#006EEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c50ea;
/* rgb */ color: rgb(92, 80, 234);
/* oklch */ color: oklch(53.9% 0.223 279.3);
Tailwind
colors: {
  custom: {
    50: '#9982f2',
    500: '#5c50ea',
    950: '#000000',
  },
}
SCSS
$custom: #5c50ea;
$custom-light: #9982f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c50ea",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 244.675,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.22267,
    "h": 279.3
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#5C50EA
secondary
#E3E8AE
accent
#DB0BCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C50EA

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

Preview Lab → · Contrast checker → · Palette generator →

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