#5D7CDD#5D7CDD

#5D7CDD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.0% C 0.151 H 268.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5D7CDD
RGBrgb(93, 124, 221)
HSLhsl(225, 65%, 62%)
HSVhsv(225, 58%, 87%)
CMYKcmyk(57.9%, 43.9%, 0%, 13.3%)
CIE-LABlab(53.99, 17.71, -53.03)
CIE-LCHlch(53.99, 55.91, 288.46°)
OKLaboklab(60.97% -0.0044 -0.1511)
OKLCHoklch(60.97% 0.151 268.3)
XYZxyz(24.7686, 21.9609, 71.3262)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CDD #DDBE5D
analogous
#5DBCDD #5D7CDD #7E5DDD
triadic
#5D7CDD #DD5D7C #7CDD5D
tetradic
#5D7CDD #DD5DBC #DDBE5D #5DDD7E
square
#5D7CDD #DD5DBC #DDBE5D #5DDD7E
split-complementary
#5D7CDD #DD7E5D #BCDD5D
monochromatic
#21409E #2C54D1 #5D7CDD #90A5E8 #C2CEF2

Accessibility & contrast

On white

3.89
#5D7CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5D7CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7CDD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7CDD#FFFFFF#000000##000000
##5D7CDD1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5087E1
Deuteranopia (green-blind)
#3E7CDB
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d7cdd;
/* rgb */ color: rgb(93, 124, 221);
/* oklch */ color: oklch(61.0% 0.151 268.3);
Tailwind
colors: {
  custom: {
    50: '#95a1e8',
    500: '#5d7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #5d7cdd;
$custom-light: #95a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7cdd",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 225.469,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.15114,
    "h": 268.3
  },
  "luminance": 0.21963
}

Semantic roles & 50–950 ramp

primary
#5D7CDD
secondary
#E3D7B3
accent
#A118CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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