#5D50BD#5D50BD

#5D50BD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.165 H 284.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5D50BD
RGBrgb(93, 80, 189)
HSLhsl(247, 45%, 53%)
HSVhsv(247, 58%, 74%)
CMYKcmyk(50.8%, 57.7%, 0%, 25.9%)
CIE-LABlab(40.80, 34.48, -55.89)
CIE-LCHlch(40.80, 65.67, 301.67°)
OKLaboklab(50.38% 0.0405 -0.1598)
OKLCHoklch(50.38% 0.165 284.2)
XYZxyz(16.5654, 11.7377, 49.5270)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50BD #B0BD50
analogous
#5079BD #5D50BD #9350BD
triadic
#5D50BD #BD5D50 #50BD5D
tetradic
#5D50BD #BD5079 #B0BD50 #50BD93
square
#5D50BD #BD5079 #B0BD50 #50BD93
split-complementary
#5D50BD #BD9350 #79BD50
monochromatic
#30286A #443997 #5D50BD #867CCE #AFA9DF

Accessibility & contrast

On white

6.27
#5D50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5D50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50BD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50BD#FFFFFF#000000##FFFFFF
##5D50BD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#39697F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d50bd;
/* rgb */ color: rgb(93, 80, 189);
/* oklch */ color: oklch(50.4% 0.165 284.2);
Tailwind
colors: {
  custom: {
    50: '#9281d2',
    500: '#5d50bd',
    950: '#000000',
  },
}
SCSS
$custom: #5d50bd;
$custom-light: #9281d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50bd",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 247.156,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50381,
    "c": 0.16489,
    "h": 284.2
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#5D50BD
secondary
#C6CC9D
accent
#D553C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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