#5D7DD6#5D7DD6

#5D7DD6 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.7% C 0.140 H 267.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5D7DD6
RGBrgb(93, 125, 214)
HSLhsl(224, 60%, 60%)
HSVhsv(224, 57%, 84%)
CMYKcmyk(56.5%, 41.6%, 0%, 16.1%)
CIE-LABlab(53.86, 14.81, -49.28)
CIE-LCHlch(53.86, 51.46, 286.72°)
OKLaboklab(60.75% -0.0067 -0.1401)
OKLCHoklch(60.75% 0.14 267.3)
XYZxyz(23.9813, 21.8476, 66.5586)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7DD6 #D6B65D
analogous
#5DBAD6 #5D7DD6 #795DD6
triadic
#5D7DD6 #D65D7D #7DD65D
tetradic
#5D7DD6 #D65DBA #D6B65D #5DD679
square
#5D7DD6 #D65DBA #D6B65D #5DD679
split-complementary
#5D7DD6 #D6795D #BAD65D
monochromatic
#254293 #3258C4 #5D7DD6 #8EA4E2 #BFCBEF

Accessibility & contrast

On white

3.91
#5D7DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5D7DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7DD6
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7DD6#FFFFFF#000000##000000
##5D7DD61.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787D9
Deuteranopia (green-blind)
#477CD4
Tritanopia (blue-blind)
#05919F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d7dd6;
/* rgb */ color: rgb(93, 125, 214);
/* oklch */ color: oklch(60.7% 0.140 267.3);
Tailwind
colors: {
  custom: {
    50: '#94a2e3',
    500: '#5d7dd6',
    950: '#000000',
  },
}
SCSS
$custom: #5d7dd6;
$custom-light: #94a2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7dd6",
  "rgb": {
    "r": 93,
    "g": 125,
    "b": 214
  },
  "hsl": {
    "h": 224.132,
    "s": 59.606,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.14022,
    "h": 267.3
  },
  "luminance": 0.21849
}

Semantic roles & 50–950 ramp

primary
#5D7DD6
secondary
#DFD2B0
accent
#9B1EC7
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #5D7DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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