#5D7CD6#5D7CD6

#5D7CD6 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.5% C 0.141 H 267.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5D7CD6
RGBrgb(93, 124, 214)
HSLhsl(225, 60%, 60%)
HSVhsv(225, 57%, 84%)
CMYKcmyk(56.5%, 42.1%, 0%, 16.1%)
CIE-LABlab(53.60, 15.41, -49.71)
CIE-LCHlch(53.60, 52.04, 287.23°)
OKLaboklab(60.54% -0.0056 -0.1413)
OKLCHoklch(60.54% 0.141 267.7)
XYZxyz(23.8554, 21.5957, 66.5166)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CD6 #D6B75D
analogous
#5DB9D6 #5D7CD6 #7A5DD6
triadic
#5D7CD6 #D65D7C #7CD65D
tetradic
#5D7CD6 #D65DB9 #D6B75D #5DD67A
square
#5D7CD6 #D65DB9 #D6B75D #5DD67A
split-complementary
#5D7CD6 #D67A5D #B9D65D
monochromatic
#254193 #3257C4 #5D7CD6 #8EA3E2 #BFCBEF

Accessibility & contrast

On white

3.95
#5D7CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5D7CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7CD6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7CD6#FFFFFF#000000##000000
##5D7CD61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586D9
Deuteranopia (green-blind)
#467BD4
Tritanopia (blue-blind)
#06909E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d7cd6;
/* rgb */ color: rgb(93, 124, 214);
/* oklch */ color: oklch(60.5% 0.141 267.7);
Tailwind
colors: {
  custom: {
    50: '#94a1e3',
    500: '#5d7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #5d7cd6;
$custom-light: #94a1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7cd6",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 224.628,
    "s": 59.606,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.14144,
    "h": 267.7
  },
  "luminance": 0.21597
}

Semantic roles & 50–950 ramp

primary
#5D7CD6
secondary
#DFD3B0
accent
#9C1EC7
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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