#5D7CD2#5D7CD2

#5D7CD2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.3% C 0.136 H 267.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5D7CD2
RGBrgb(93, 124, 210)
HSLhsl(224, 57%, 59%)
HSVhsv(224, 56%, 82%)
CMYKcmyk(55.7%, 41%, 0%, 17.6%)
CIE-LABlab(53.38, 14.11, -47.79)
CIE-LCHlch(53.38, 49.83, 286.45°)
OKLaboklab(60.3% -0.0063 -0.1357)
OKLCHoklch(60.3% 0.136 267.3)
XYZxyz(23.3508, 21.3938, 63.8592)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CD2 #D2B35D
analogous
#5DB6D2 #5D7CD2 #795DD2
triadic
#5D7CD2 #D25D7C #7CD25D
tetradic
#5D7CD2 #D25DB6 #D2B35D #5DD279
square
#5D7CD2 #D25DB6 #D2B35D #5DD279
split-complementary
#5D7CD2 #D2795D #B6D25D
monochromatic
#27428D #3559BD #5D7CD2 #8DA3DF #BDC9ED

Accessibility & contrast

On white

3.98
#5D7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5D7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7CD2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7CD2#FFFFFF#000000##000000
##5D7CD21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5885D5
Deuteranopia (green-blind)
#497BD0
Tritanopia (blue-blind)
#138F9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5d7cd2;
/* rgb */ color: rgb(93, 124, 210);
/* oklch */ color: oklch(60.3% 0.136 267.3);
Tailwind
colors: {
  custom: {
    50: '#93a1e0',
    500: '#5d7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5d7cd2;
$custom-light: #93a1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7cd2",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 224.103,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.13586,
    "h": 267.3
  },
  "luminance": 0.21396
}

Semantic roles & 50–950 ramp

primary
#5D7CD2
secondary
#DCD0AF
accent
#B848E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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