#5D50CB#5D50CB

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

Color values

HEX#5D50CB
RGBrgb(93, 80, 203)
HSLhsl(246, 54%, 55%)
HSVhsv(246, 61%, 80%)
CMYKcmyk(54.2%, 60.6%, 0%, 20.4%)
CIE-LABlab(41.81, 38.81, -62.39)
CIE-LCHlch(41.81, 73.47, 301.89°)
OKLaboklab(51.44% 0.0401 -0.179)
OKLCHoklch(51.44% 0.183 282.6)
XYZxyz(18.1590, 12.3752, 57.9201)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50CB #BECB50
analogous
#5081CB #5D50CB #9A50CB
triadic
#5D50CB #CB5D50 #50CB5D
tetradic
#5D50CB #CB5081 #BECB50 #50CB9A
square
#5D50CB #CB5081 #BECB50 #50CB9A
split-complementary
#5D50CB #CB9A50 #81CB50
monochromatic
#2E257C #4033AB #5D50CB #897FD9 #B4AEE7

Accessibility & contrast

On white

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

On black

3.48
#5D50CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D50CB#FFFFFF#000000##FFFFFF
##5D50CB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#2B6D86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d50cb;
/* rgb */ color: rgb(93, 80, 203);
/* oklch */ color: oklch(51.4% 0.183 282.6);
Tailwind
colors: {
  custom: {
    50: '#9482dc',
    500: '#5d50cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d50cb;
$custom-light: #9482dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50cb",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 246.341,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.1834,
    "h": 282.6
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#5D50CB
secondary
#D0D5A2
accent
#DE4ACE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D50CB

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

Preview Lab → · Contrast checker → · Palette generator →

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