#5D7ECD#5D7ECD

#5D7ECD is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.126 H 265.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5D7ECD
RGBrgb(93, 126, 205)
HSLhsl(222, 53%, 58%)
HSVhsv(222, 55%, 80%)
CMYKcmyk(54.6%, 38.5%, 0%, 19.6%)
CIE-LABlab(53.66, 11.28, -44.51)
CIE-LCHlch(53.66, 45.92, 284.22°)
OKLaboklab(60.43% -0.0096 -0.1261)
OKLCHoklch(60.43% 0.126 265.6)
XYZxyz(22.9908, 21.6549, 60.7141)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7ECD #CDAC5D
analogous
#5DB6CD #5D7ECD #745DCD
triadic
#5D7ECD #CD5D7E #7ECD5D
tetradic
#5D7ECD #CD5DB6 #CDAC5D #5DCD74
square
#5D7ECD #CD5DB6 #CDAC5D #5DCD74
split-complementary
#5D7ECD #CD745D #B6CD5D
monochromatic
#294586 #385DB5 #5D7ECD #8CA3DB #BBC8EA

Accessibility & contrast

On white

3.94
#5D7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5D7ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7ECD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7ECD#FFFFFF#000000##000000
##5D7ECD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D0
Deuteranopia (green-blind)
#507CCB
Tritanopia (blue-blind)
#1D8F9C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d7ecd;
/* rgb */ color: rgb(93, 126, 205);
/* oklch */ color: oklch(60.4% 0.126 265.6);
Tailwind
colors: {
  custom: {
    50: '#92a3dc',
    500: '#5d7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #5d7ecd;
$custom-light: #92a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7ecd",
  "rgb": {
    "r": 93,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 222.321,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.12646,
    "h": 265.6
  },
  "luminance": 0.21657
}

Semantic roles & 50–950 ramp

primary
#5D7ECD
secondary
#D9CCAD
accent
#B24CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0F15
muted
#7E7E83

Preview Lab

Preview with #5D7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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