#5C50D2#5C50D2

#5C50D2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.193 H 281.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5C50D2
RGBrgb(92, 80, 210)
HSLhsl(246, 59%, 57%)
HSVhsv(246, 62%, 82%)
CMYKcmyk(56.2%, 61.9%, 0%, 17.6%)
CIE-LABlab(42.25, 40.81, -65.70)
CIE-LCHlch(42.25, 77.34, 301.85°)
OKLaboklab(51.92% 0.0384 -0.1887)
OKLCHoklch(51.92% 0.193 281.5)
XYZxyz(18.9115, 12.6646, 62.4082)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C50D2 #C6D250
analogous
#5085D2 #5C50D2 #9D50D2
triadic
#5C50D2 #D25C50 #50D25C
tetradic
#5C50D2 #D25085 #C6D250 #50D29D
square
#5C50D2 #D25085 #C6D250 #50D29D
split-complementary
#5C50D2 #D29D50 #85D250
monochromatic
#2B2285 #3B2FB6 #5C50D2 #8981DF #B7B1EB

Accessibility & contrast

On white

5.94
#5C50D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5C50D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C50D2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C50D2#FFFFFF#000000##FFFFFF
##5C50D21.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#1E7089
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c50d2;
/* rgb */ color: rgb(92, 80, 210);
/* oklch */ color: oklch(51.9% 0.193 281.5);
Tailwind
colors: {
  custom: {
    50: '#9582e1',
    500: '#5c50d2',
    950: '#000000',
  },
}
SCSS
$custom: #5c50d2;
$custom-light: #9582e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c50d2",
  "rgb": {
    "r": 92,
    "g": 80,
    "b": 210
  },
  "hsl": {
    "h": 245.538,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.19259,
    "h": 281.5
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#5C50D2
secondary
#D5D9A4
accent
#E246D4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5C50D2

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

Preview Lab → · Contrast checker → · Palette generator →

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