#5C50CA#5C50CA

#5C50CA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.3% C 0.182 H 282.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5C50CA
RGBrgb(92, 80, 202)
HSLhsl(246, 54%, 55%)
HSVhsv(246, 60%, 79%)
CMYKcmyk(54.5%, 60.4%, 0%, 20.8%)
CIE-LABlab(41.65, 38.31, -62.06)
CIE-LCHlch(41.65, 72.94, 301.69°)
OKLaboklab(51.29% 0.0388 -0.1781)
OKLCHoklch(51.29% 0.182 282.3)
XYZxyz(17.9397, 12.2758, 57.2898)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C50CA #BECA50
analogous
#5081CA #5C50CA #9950CA
triadic
#5C50CA #CA5C50 #50CA5C
tetradic
#5C50CA #CA5081 #BECA50 #50CA99
square
#5C50CA #CA5081 #BECA50 #50CA99
split-complementary
#5C50CA #CA9950 #81CA50
monochromatic
#2E257A #3F33A9 #5C50CA #887FD8 #B4AEE6

Accessibility & contrast

On white

6.08
#5C50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5C50CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C50CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C50CA#FFFFFF#000000##FFFFFF
##5C50CA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#296D85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c50ca;
/* rgb */ color: rgb(92, 80, 202);
/* oklch */ color: oklch(51.3% 0.182 282.3);
Tailwind
colors: {
  custom: {
    50: '#9382db',
    500: '#5c50ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c50ca;
$custom-light: #9382db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c50ca",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 245.902,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.18223,
    "h": 282.3
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#5C50CA
secondary
#CFD4A1
accent
#DD4BCF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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