#5D66CD#5D66CD

#5D66CD is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.6% C 0.157 H 276.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5D66CD
RGBrgb(93, 102, 205)
HSLhsl(235, 53%, 58%)
HSVhsv(235, 55%, 80%)
CMYKcmyk(54.6%, 50.2%, 0%, 19.6%)
CIE-LABlab(47.28, 26.01, -54.69)
CIE-LCHlch(47.28, 60.56, 295.44°)
OKLaboklab(55.56% 0.0171 -0.1562)
OKLCHoklch(55.56% 0.157 276.3)
XYZxyz(20.2815, 16.2363, 59.8110)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D66CD #CDC45D
analogous
#5D9ECD #5D66CD #8C5DCD
triadic
#5D66CD #CD5D66 #66CD5D
tetradic
#5D66CD #CD5D9E #CDC45D #5DCD8C
square
#5D66CD #CD5D9E #CDC45D #5DCD8C
split-complementary
#5D66CD #CD8C5D #9ECD5D
monochromatic
#293186 #3842B5 #5D66CD #8C92DB #BBBEEA

Accessibility & contrast

On white

4.94
#5D66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5D66CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D66CD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D66CD#FFFFFF#000000##FFFFFF
##5D66CD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#257D90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d66cd;
/* rgb */ color: rgb(93, 102, 205);
/* oklch */ color: oklch(55.6% 0.157 276.3);
Tailwind
colors: {
  custom: {
    50: '#9391dd',
    500: '#5d66cd',
    950: '#000000',
  },
}
SCSS
$custom: #5d66cd;
$custom-light: #9391dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d66cd",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 235.179,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.1571,
    "h": 276.3
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#5D66CD
secondary
#D9D6AD
accent
#D14CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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