#5D7CD1#5D7CD1

#5D7CD1 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.2% C 0.134 H 267.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5D7CD1
RGBrgb(93, 124, 209)
HSLhsl(224, 56%, 59%)
HSVhsv(224, 56%, 82%)
CMYKcmyk(55.5%, 40.7%, 0%, 18%)
CIE-LABlab(53.32, 13.79, -47.31)
CIE-LCHlch(53.32, 49.28, 286.25°)
OKLaboklab(60.24% -0.0065 -0.1343)
OKLCHoklch(60.24% 0.134 267.2)
XYZxyz(23.2266, 21.3441, 63.2051)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CD1 #D1B25D
analogous
#5DB6D1 #5D7CD1 #785DD1
triadic
#5D7CD1 #D15D7C #7CD15D
tetradic
#5D7CD1 #D15DB6 #D1B25D #5DD178
square
#5D7CD1 #D15DB6 #D1B25D #5DD178
split-complementary
#5D7CD1 #D1785D #B6D15D
monochromatic
#28428C #3559BC #5D7CD1 #8DA3DF #BCC9EC

Accessibility & contrast

On white

3.99
#5D7CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#5D7CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7CD1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7CD1#FFFFFF#000000##000000
##5D7CD11.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5885D4
Deuteranopia (green-blind)
#4A7BCF
Tritanopia (blue-blind)
#168F9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d7cd1;
/* rgb */ color: rgb(93, 124, 209);
/* oklch */ color: oklch(60.2% 0.134 267.2);
Tailwind
colors: {
  custom: {
    50: '#93a1df',
    500: '#5d7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #5d7cd1;
$custom-light: #93a1df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7cd1",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 223.966,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.13447,
    "h": 267.2
  },
  "luminance": 0.21346
}

Semantic roles & 50–950 ramp

primary
#5D7CD1
secondary
#DCCFAE
accent
#B749DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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