#5D7CDC#5D7CDC

#5D7CDC is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.9% C 0.150 H 268.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5D7CDC
RGBrgb(93, 124, 220)
HSLhsl(225, 64%, 61%)
HSVhsv(225, 58%, 86%)
CMYKcmyk(57.7%, 43.6%, 0%, 13.7%)
CIE-LABlab(53.93, 17.38, -52.56)
CIE-LCHlch(53.93, 55.36, 288.30°)
OKLaboklab(60.9% -0.0045 -0.1497)
OKLCHoklch(60.9% 0.15 268.3)
XYZxyz(24.6358, 21.9078, 70.6267)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7CDC #DCBD5D
analogous
#5DBCDC #5D7CDC #7E5DDC
triadic
#5D7CDC #DC5D7C #7CDC5D
tetradic
#5D7CDC #DC5DBC #DCBD5D #5DDC7E
square
#5D7CDC #DC5DBC #DCBD5D #5DDC7E
split-complementary
#5D7CDC #DC7E5D #BCDC5D
monochromatic
#22409D #2D54CF #5D7CDC #8FA5E7 #C2CDF2

Accessibility & contrast

On white

3.90
#5D7CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5D7CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D7CDC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7CDC#FFFFFF#000000##000000
##5D7CDC1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#0091A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d7cdc;
/* rgb */ color: rgb(93, 124, 220);
/* oklch */ color: oklch(60.9% 0.150 268.3);
Tailwind
colors: {
  custom: {
    50: '#94a1e7',
    500: '#5d7cdc',
    950: '#000000',
  },
}
SCSS
$custom: #5d7cdc;
$custom-light: #94a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7cdc",
  "rgb": {
    "r": 93,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 225.354,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.14976,
    "h": 268.3
  },
  "luminance": 0.2191
}

Semantic roles & 50–950 ramp

primary
#5D7CDC
secondary
#E2D7B3
accent
#A119CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D7CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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