#5966E7#5966E7

#5966E7 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.1% C 0.193 H 274.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5966E7
RGBrgb(89, 102, 231)
HSLhsl(235, 75%, 63%)
HSVhsv(235, 61%, 91%)
CMYKcmyk(61.5%, 55.8%, 0%, 9.4%)
CIE-LABlab(48.75, 33.78, -67.09)
CIE-LCHlch(48.75, 75.12, 296.72°)
OKLaboklab(57.15% 0.0142 -0.1928)
OKLCHoklch(57.15% 0.193 274.2)
XYZxyz(23.2903, 17.3942, 77.7159)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966E7 #E7DA59
analogous
#59ADE7 #5966E7 #9359E7
triadic
#5966E7 #E75966 #66E759
tetradic
#5966E7 #E759AD #E7DA59 #59E793
square
#5966E7 #E759AD #E7DA59 #59E793
split-complementary
#5966E7 #E79359 #ADE759
monochromatic
#1926AD #2435DF #5966E7 #8E97EF #C4C9F6

Accessibility & contrast

On white

4.69
#5966E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5966E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5966E7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966E7#FFFFFF#000000##FFFFFF
##5966E71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5966e7;
/* rgb */ color: rgb(89, 102, 231);
/* oklch */ color: oklch(57.1% 0.193 274.2);
Tailwind
colors: {
  custom: {
    50: '#9591ef',
    500: '#5966e7',
    950: '#000000',
  },
}
SCSS
$custom: #5966e7;
$custom-light: #9591ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5966e7",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 234.507,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.19328,
    "h": 274.2
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

primary
#5966E7
secondary
#E8E3B4
accent
#C50FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5966E7

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

Preview Lab → · Contrast checker → · Palette generator →

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