#5D66DC#5D66DC

#5D66DC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.178 H 275.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5D66DC
RGBrgb(93, 102, 220)
HSLhsl(236, 64%, 61%)
HSVhsv(236, 58%, 86%)
CMYKcmyk(57.7%, 53.6%, 0%, 13.7%)
CIE-LABlab(48.25, 30.87, -61.67)
CIE-LCHlch(48.25, 68.97, 296.59°)
OKLaboklab(56.6% 0.0182 -0.1767)
OKLCHoklch(56.6% 0.178 275.9)
XYZxyz(22.1797, 16.9956, 69.8080)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D66DC #DCD35D
analogous
#5DA6DC #5D66DC #945DDC
triadic
#5D66DC #DC5D66 #66DC5D
tetradic
#5D66DC #DC5DA6 #DCD35D #5DDC94
square
#5D66DC #DC5DA6 #DCD35D #5DDC94
split-complementary
#5D66DC #DC945D #A6DC5D
monochromatic
#222B9D #2D38CF #5D66DC #8F96E7 #C2C5F2

Accessibility & contrast

On white

4.77
#5D66DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5D66DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D66DC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D66DC#FFFFFF#000000##FFFFFF
##5D66DC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1978E0
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d66dc;
/* rgb */ color: rgb(93, 102, 220);
/* oklch */ color: oklch(56.6% 0.178 275.9);
Tailwind
colors: {
  custom: {
    50: '#9591e8',
    500: '#5d66dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d66dc;
$custom-light: #9591e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d66dc",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 235.748,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56603,
    "c": 0.17764,
    "h": 275.9
  },
  "luminance": 0.16997
}

Semantic roles & 50–950 ramp

primary
#5D66DC
secondary
#E2DFB3
accent
#C019CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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