#5C50EB#5C50EB

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

Color values

HEX#5C50EB
RGBrgb(92, 80, 235)
HSLhsl(245, 79%, 62%)
HSVhsv(245, 66%, 92%)
CMYKcmyk(60.9%, 66%, 0%, 7.8%)
CIE-LABlab(44.25, 48.58, -76.68)
CIE-LCHlch(44.25, 90.77, 302.35°)
OKLaboklab(53.98% 0.036 -0.221)
OKLCHoklch(53.98% 0.224 279.3)
XYZxyz(22.2729, 14.0091, 80.1115)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C50EB #DFEB50
analogous
#5092EB #5C50EB #AA50EB
triadic
#5C50EB #EB5C50 #50EB5C
tetradic
#5C50EB #EB5092 #DFEB50 #50EBAA
square
#5C50EB #EB5092 #DFEB50 #50EBAA
split-complementary
#5C50EB #EBAA50 #92EB50
monochromatic
#2014AD #2A1AE4 #5C50EB #8F87F1 #C2BEF8

Accessibility & contrast

On white

5.52
#5C50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5C50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C50EB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C50EB#FFFFFF#000000##FFFFFF
##5C50EB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c50eb;
/* rgb */ color: rgb(92, 80, 235);
/* oklch */ color: oklch(54.0% 0.224 279.3);
Tailwind
colors: {
  custom: {
    50: '#9982f3',
    500: '#5c50eb',
    950: '#000000',
  },
}
SCSS
$custom: #5c50eb;
$custom-light: #9982f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c50eb",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 244.645,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53984,
    "c": 0.2239,
    "h": 279.3
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#5C50EB
secondary
#E4E8AF
accent
#DC0ACC
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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