#5966E5#5966E5

#5966E5 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.191 H 274.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5966E5
RGBrgb(89, 102, 229)
HSLhsl(234, 73%, 62%)
HSVhsv(234, 61%, 90%)
CMYKcmyk(61.1%, 55.5%, 0%, 10.2%)
CIE-LABlab(48.61, 33.11, -66.19)
CIE-LCHlch(48.61, 74.01, 296.58°)
OKLaboklab(57% 0.0141 -0.1901)
OKLCHoklch(57% 0.191 274.2)
XYZxyz(23.0094, 17.2819, 76.2367)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966E5 #E5D859
analogous
#59ACE5 #5966E5 #9259E5
triadic
#5966E5 #E55966 #66E559
tetradic
#5966E5 #E559AC #E5D859 #59E592
square
#5966E5 #E559AC #E5D859 #59E592
split-complementary
#5966E5 #E59259 #ACE559
monochromatic
#1A28A9 #2435DD #5966E5 #8E97ED #C3C8F6

Accessibility & contrast

On white

4.71
#5966E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5966E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5966E5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966E5#FFFFFF#000000##FFFFFF
##5966E51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5966e5;
/* rgb */ color: rgb(89, 102, 229);
/* oklch */ color: oklch(57.0% 0.191 274.2);
Tailwind
colors: {
  custom: {
    50: '#9591ee',
    500: '#5966e5',
    950: '#000000',
  },
}
SCSS
$custom: #5966e5;
$custom-light: #9591ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5966e5",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 234.429,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.19063,
    "h": 274.2
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#5966E5
secondary
#E6E2B3
accent
#C310D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5966E5

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

Preview Lab → · Contrast checker → · Palette generator →

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