#5D62CD#5D62CD

#5D62CD is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.162 H 277.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5D62CD
RGBrgb(93, 98, 205)
HSLhsl(237, 53%, 58%)
HSVhsv(237, 55%, 80%)
CMYKcmyk(54.6%, 52.2%, 0%, 19.6%)
CIE-LABlab(46.27, 28.48, -56.32)
CIE-LCHlch(46.27, 63.11, 296.83°)
OKLaboklab(54.8% 0.0214 -0.161)
OKLCHoklch(54.8% 0.162 277.6)
XYZxyz(19.8978, 15.4690, 59.6831)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62CD #CDC85D
analogous
#5D9ACD #5D62CD #905DCD
triadic
#5D62CD #CD5D62 #62CD5D
tetradic
#5D62CD #CD5D9A #CDC85D #5DCD90
square
#5D62CD #CD5D9A #CDC85D #5DCD90
split-complementary
#5D62CD #CD905D #9ACD5D
monochromatic
#292E86 #383DB5 #5D62CD #8C8FDB #BBBDEA

Accessibility & contrast

On white

5.13
#5D62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5D62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D62CD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D62CD#FFFFFF#000000##FFFFFF
##5D62CD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2772D1
Deuteranopia (green-blind)
#1269CB
Tritanopia (blue-blind)
#257A8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d62cd;
/* rgb */ color: rgb(93, 98, 205);
/* oklch */ color: oklch(54.8% 0.162 277.6);
Tailwind
colors: {
  custom: {
    50: '#938edd',
    500: '#5d62cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d62cd;
$custom-light: #938edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62cd",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 237.321,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.548,
    "c": 0.16241,
    "h": 277.6
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#5D62CD
secondary
#D9D7AD
accent
#D64CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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