#5D7CD7#5D7CD7

#5D7CD7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.143 H 267.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5D7CD7
RGBrgb(93, 124, 215)
HSLhsl(225, 60%, 60%)
HSVhsv(225, 57%, 84%)
CMYKcmyk(56.7%, 42.3%, 0%, 15.7%)
CIE-LABlab(53.65, 15.74, -50.19)
CIE-LCHlch(53.65, 52.60, 287.41°)
OKLaboklab(60.6% -0.0054 -0.1427)
OKLCHoklch(60.6% 0.143 267.8)
XYZxyz(23.9835, 21.6469, 67.1912)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CD7 #D7B85D
analogous
#5DB9D7 #5D7CD7 #7B5DD7
triadic
#5D7CD7 #D75D7C #7CD75D
tetradic
#5D7CD7 #D75DB9 #D7B85D #5DD77B
square
#5D7CD7 #D75DB9 #D7B85D #5DD77B
split-complementary
#5D7CD7 #D77B5D #B9D75D
monochromatic
#254195 #3157C6 #5D7CD7 #8EA4E3 #BFCBEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D7CD7#FFFFFF#000000##000000
##5D7CD71.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)
#5486DB
Deuteranopia (green-blind)
#457BD5
Tritanopia (blue-blind)
#02909F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d7cd7;
/* rgb */ color: rgb(93, 124, 215);
/* oklch */ color: oklch(60.6% 0.143 267.8);
Tailwind
colors: {
  custom: {
    50: '#94a1e4',
    500: '#5d7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #5d7cd7;
$custom-light: #94a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7cd7",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 224.754,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60599,
    "c": 0.14283,
    "h": 267.8
  },
  "luminance": 0.21649
}

Semantic roles & 50–950 ramp

primary
#5D7CD7
secondary
#DFD3B1
accent
#9D1DC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E15
muted
#7E7E84

Preview Lab

Preview with #5D7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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