#5D50CE#5D50CE

#5D50CE is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.7% C 0.187 H 282.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5D50CE
RGBrgb(93, 80, 206)
HSLhsl(246, 56%, 56%)
HSVhsv(246, 61%, 81%)
CMYKcmyk(54.9%, 61.2%, 0%, 19.2%)
CIE-LABlab(42.03, 39.74, -63.75)
CIE-LCHlch(42.03, 75.12, 301.94°)
OKLaboklab(51.68% 0.0399 -0.183)
OKLCHoklch(51.68% 0.187 282.3)
XYZxyz(18.5200, 12.5196, 59.8212)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50CE #C1CE50
analogous
#5082CE #5D50CE #9C50CE
triadic
#5D50CE #CE5D50 #50CE5D
tetradic
#5D50CE #CE5082 #C1CE50 #50CE9C
square
#5D50CE #CE5082 #C1CE50 #50CE9C
split-complementary
#5D50CE #CE9C50 #82CE50
monochromatic
#2D2480 #3E31B0 #5D50CE #8980DB #B6B0E9

Accessibility & contrast

On white

5.99
#5D50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5D50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50CE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50CE#FFFFFF#000000##FFFFFF
##5D50CE1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#286E87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d50ce;
/* rgb */ color: rgb(93, 80, 206);
/* oklch */ color: oklch(51.7% 0.187 282.3);
Tailwind
colors: {
  custom: {
    50: '#9582de',
    500: '#5d50ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d50ce;
$custom-light: #9582de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50ce",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 246.19,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51678,
    "c": 0.18729,
    "h": 282.3
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#5D50CE
secondary
#D2D7A3
accent
#E048D0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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