#5966D8#5966D8

#5966D8 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.173 H 274.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5966D8
RGBrgb(89, 102, 216)
HSLhsl(234, 62%, 60%)
HSVhsv(234, 59%, 85%)
CMYKcmyk(58.8%, 52.8%, 0%, 15.3%)
CIE-LABlab(47.73, 28.82, -60.26)
CIE-LCHlch(47.73, 66.80, 295.56°)
OKLaboklab(56.06% 0.0135 -0.1727)
OKLCHoklch(56.06% 0.173 274.5)
XYZxyz(21.2618, 16.5828, 67.0328)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966D8 #D8CB59
analogous
#59A6D8 #5966D8 #8B59D8
triadic
#5966D8 #D85966 #66D859
tetradic
#5966D8 #D859A6 #D8CB59 #59D88B
square
#5966D8 #D859A6 #D8CB59 #59D88B
split-complementary
#5966D8 #D88B59 #A6D859
monochromatic
#232E94 #2E3EC5 #5966D8 #8B94E4 #BCC1EF

Accessibility & contrast

On white

4.86
#5966D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5966D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5966D8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966D8#FFFFFF#000000##FFFFFF
##5966D81.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2077DC
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5966d8;
/* rgb */ color: rgb(89, 102, 216);
/* oklch */ color: oklch(56.1% 0.173 274.5);
Tailwind
colors: {
  custom: {
    50: '#9391e5',
    500: '#5966d8',
    950: '#000000',
  },
}
SCSS
$custom: #5966d8;
$custom-light: #9391e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5966d8",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 233.858,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.17319,
    "h": 274.5
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#5966D8
secondary
#DFDAAE
accent
#D443E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5966D8

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

Preview Lab → · Contrast checker → · Palette generator →

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