#5966DC#5966DC

#5966DC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.3% C 0.179 H 274.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5966DC
RGBrgb(89, 102, 220)
HSLhsl(234, 65%, 61%)
HSVhsv(234, 60%, 86%)
CMYKcmyk(59.5%, 53.6%, 0%, 13.7%)
CIE-LABlab(48.00, 30.14, -62.10)
CIE-LCHlch(48.00, 69.03, 295.89°)
OKLaboklab(56.34% 0.0138 -0.1781)
OKLCHoklch(56.34% 0.179 274.4)
XYZxyz(21.7852, 16.7922, 69.7895)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966DC #DCCF59
analogous
#59A7DC #5966DC #8D59DC
triadic
#5966DC #DC5966 #66DC59
tetradic
#5966DC #DC59A7 #DCCF59 #59DC8D
square
#5966DC #DC59A7 #DCCF59 #59DC8D
split-complementary
#5966DC #DC8D59 #A7DC59
monochromatic
#202D9A #2B3BCD #5966DC #8C95E7 #BEC3F1

Accessibility & contrast

On white

4.82
#5966DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5966DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5966DC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966DC#FFFFFF#000000##FFFFFF
##5966DC1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#008297
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5966dc;
/* rgb */ color: rgb(89, 102, 220);
/* oklch */ color: oklch(56.3% 0.179 274.4);
Tailwind
colors: {
  custom: {
    50: '#9391e8',
    500: '#5966dc',
    950: '#000000',
  },
}
SCSS
$custom: #5966dc;
$custom-light: #9391e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5966dc",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 234.046,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.1786,
    "h": 274.4
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#5966DC
secondary
#E1DCAF
accent
#BB18CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5966DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5966DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva