#5D50A3#5D50A3

#5D50A3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.129 H 287.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5D50A3
RGBrgb(93, 80, 163)
HSLhsl(249, 34%, 48%)
HSVhsv(249, 51%, 64%)
CMYKcmyk(42.9%, 50.9%, 0%, 36.1%)
CIE-LABlab(39.08, 26.57, -43.29)
CIE-LCHlch(39.08, 50.79, 301.54°)
OKLaboklab(48.56% 0.0394 -0.1228)
OKLCHoklch(48.56% 0.129 287.8)
XYZxyz(13.9919, 10.7083, 35.9729)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D50A3 #96A350
analogous
#506CA3 #5D50A3 #8750A3
triadic
#5D50A3 #A35D50 #50A35D
tetradic
#5D50A3 #A3506C #96A350 #50A387
square
#5D50A3 #A3506C #96A350 #50A387
split-complementary
#5D50A3 #A38750 #6CA350
monochromatic
#2E2851 #463C7A #5D50A3 #8075BB #A69ECF

Accessibility & contrast

On white

6.68
#5D50A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5D50A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D50A3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D50A3#FFFFFF#000000##FFFFFF
##5D50A31.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#2D5AA1
Tritanopia (blue-blind)
#496172
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d50a3;
/* rgb */ color: rgb(93, 80, 163);
/* oklch */ color: oklch(48.6% 0.129 287.8);
Tailwind
colors: {
  custom: {
    50: '#8f81bf',
    500: '#5d50a3',
    950: '#000000',
  },
}
SCSS
$custom: #5d50a3;
$custom-light: #8f81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d50a3",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 163
  },
  "hsl": {
    "h": 249.398,
    "s": 34.156,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.12899,
    "h": 287.8
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#5D50A3
secondary
#B6BC92
accent
#CA5EB9
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #5D50A3

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

Preview Lab → · Contrast checker → · Palette generator →

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