#5D7CD5#5D7CD5

#5D7CD5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.5% C 0.140 H 267.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5D7CD5
RGBrgb(93, 124, 213)
HSLhsl(225, 59%, 60%)
HSVhsv(225, 56%, 84%)
CMYKcmyk(56.3%, 41.8%, 0%, 16.5%)
CIE-LABlab(53.54, 15.09, -49.23)
CIE-LCHlch(53.54, 51.49, 287.04°)
OKLaboklab(60.48% -0.0058 -0.1399)
OKLCHoklch(60.48% 0.14 267.6)
XYZxyz(23.7281, 21.5447, 65.8460)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CD5 #D5B65D
analogous
#5DB8D5 #5D7CD5 #7A5DD5
triadic
#5D7CD5 #D55D7C #7CD55D
tetradic
#5D7CD5 #D55DB8 #D5B65D #5DD57A
square
#5D7CD5 #D55DB8 #D5B65D #5DD57A
split-complementary
#5D7CD5 #D57A5D #B8D55D
monochromatic
#264292 #3258C2 #5D7CD5 #8EA3E2 #BECBEE

Accessibility & contrast

On white

3.96
#5D7CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5D7CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7CD5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7CD5#FFFFFF#000000##000000
##5D7CD51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5686D8
Deuteranopia (green-blind)
#467BD3
Tritanopia (blue-blind)
#0A909E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d7cd5;
/* rgb */ color: rgb(93, 124, 213);
/* oklch */ color: oklch(60.5% 0.140 267.6);
Tailwind
colors: {
  custom: {
    50: '#93a1e2',
    500: '#5d7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #5d7cd5;
$custom-light: #93a1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7cd5",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 224.5,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.14005,
    "h": 267.6
  },
  "luminance": 0.21547
}

Semantic roles & 50–950 ramp

primary
#5D7CD5
secondary
#DED2B0
accent
#BA46E2
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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