#5966DF#5966DF

#5966DF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.6% C 0.183 H 274.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5966DF
RGBrgb(89, 102, 223)
HSLhsl(234, 68%, 61%)
HSVhsv(234, 60%, 87%)
CMYKcmyk(60.1%, 54.3%, 0%, 12.5%)
CIE-LABlab(48.20, 31.13, -63.47)
CIE-LCHlch(48.20, 70.70, 296.13°)
OKLaboklab(56.56% 0.0139 -0.1821)
OKLCHoklch(56.56% 0.183 274.4)
XYZxyz(22.1861, 16.9526, 71.9008)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966DF #DFD259
analogous
#59A9DF #5966DF #8F59DF
triadic
#5966DF #DF5966 #66DF59
tetradic
#5966DF #DF59A9 #DFD259 #59DF8F
square
#5966DF #DF59A9 #DFD259 #59DF8F
split-complementary
#5966DF #DF8F59 #A9DF59
monochromatic
#1F2B9F #2939D2 #5966DF #8C95E9 #C0C5F3

Accessibility & contrast

On white

4.78
#5966DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5966DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5966DF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966DF#FFFFFF#000000##FFFFFF
##5966DF1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D78E3
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5966df;
/* rgb */ color: rgb(89, 102, 223);
/* oklch */ color: oklch(56.6% 0.183 274.4);
Tailwind
colors: {
  custom: {
    50: '#9491ea',
    500: '#5966df',
    950: '#000000',
  },
}
SCSS
$custom: #5966df;
$custom-light: #9491ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5966df",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 234.179,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.18264,
    "h": 274.4
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#5966DF
secondary
#E3DEB1
accent
#BE16D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5966DF

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

Preview Lab → · Contrast checker → · Palette generator →

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