#5A50DC#5A50DC

#5A50DC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.206 H 279.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5A50DC
RGBrgb(90, 80, 220)
HSLhsl(244, 67%, 59%)
HSVhsv(244, 64%, 86%)
CMYKcmyk(59.1%, 63.6%, 0%, 13.7%)
CIE-LABlab(42.88, 43.60, -70.41)
CIE-LCHlch(42.88, 82.82, 301.77°)
OKLaboklab(52.58% 0.0351 -0.2026)
OKLCHoklch(52.58% 0.206 279.8)
XYZxyz(19.9993, 13.0769, 69.1665)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A50DC #D2DC50
analogous
#508CDC #5A50DC #A050DC
triadic
#5A50DC #DC5A50 #50DC5A
tetradic
#5A50DC #DC508C #D2DC50 #50DCA0
square
#5A50DC #DC508C #D2DC50 #50DCA0
split-complementary
#5A50DC #DCA050 #8CDC50
monochromatic
#261E94 #3328C7 #5A50DC #8A83E6 #BAB6F0

Accessibility & contrast

On white

5.81
#5A50DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5A50DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A50DC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A50DC#FFFFFF#000000##FFFFFF
##5A50DC1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5a50dc;
/* rgb */ color: rgb(90, 80, 220);
/* oklch */ color: oklch(52.6% 0.206 279.8);
Tailwind
colors: {
  custom: {
    50: '#9582e8',
    500: '#5a50dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a50dc;
$custom-light: #9582e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a50dc",
  "rgb": {
    "r": 90,
    "g": 80,
    "b": 220
  },
  "hsl": {
    "h": 244.286,
    "s": 66.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.20566,
    "h": 279.8
  },
  "luminance": 0.13078
}

Semantic roles & 50–950 ramp

primary
#5A50DC
secondary
#DCDFA8
accent
#EA3EDD
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A50DC

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

Preview Lab → · Contrast checker → · Palette generator →

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