#5C50CC#5C50CC

#5C50CC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.185 H 282.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5C50CC
RGBrgb(92, 80, 204)
HSLhsl(246, 55%, 56%)
HSVhsv(246, 61%, 80%)
CMYKcmyk(54.9%, 60.8%, 0%, 20%)
CIE-LABlab(41.80, 38.94, -62.98)
CIE-LCHlch(41.80, 74.04, 301.73°)
OKLaboklab(51.44% 0.0387 -0.1807)
OKLCHoklch(51.44% 0.185 282.1)
XYZxyz(18.1780, 12.3712, 58.5450)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C50CC #C0CC50
analogous
#5082CC #5C50CC #9A50CC
triadic
#5C50CC #CC5C50 #50CC5C
tetradic
#5C50CC #CC5082 #C0CC50 #50CC9A
square
#5C50CC #CC5082 #C0CC50 #50CC9A
split-complementary
#5C50CC #CC9A50 #82CC50
monochromatic
#2D247D #3E32AD #5C50CC #887FDA #B4AFE8

Accessibility & contrast

On white

6.04
#5C50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5C50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C50CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C50CC#FFFFFF#000000##FFFFFF
##5C50CC1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#276E86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c50cc;
/* rgb */ color: rgb(92, 80, 204);
/* oklch */ color: oklch(51.4% 0.185 282.1);
Tailwind
colors: {
  custom: {
    50: '#9482dc',
    500: '#5c50cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c50cc;
$custom-light: #9482dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c50cc",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 245.806,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51442,
    "c": 0.18484,
    "h": 282.1
  },
  "luminance": 0.12372
}

Semantic roles & 50–950 ramp

primary
#5C50CC
secondary
#D1D6A2
accent
#DE4AD0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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