#5966EA#5966EA

#5966EA is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.4% C 0.197 H 274.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5966EA
RGBrgb(89, 102, 234)
HSLhsl(235, 78%, 63%)
HSVhsv(235, 62%, 92%)
CMYKcmyk(62%, 56.4%, 0%, 8.2%)
CIE-LABlab(48.96, 34.77, -68.44)
CIE-LCHlch(48.96, 76.76, 296.93°)
OKLaboklab(57.37% 0.0142 -0.1967)
OKLCHoklch(57.37% 0.197 274.1)
XYZxyz(23.7176, 17.5651, 79.9665)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966EA #EADD59
analogous
#59AEEA #5966EA #9459EA
triadic
#5966EA #EA5966 #66EA59
tetradic
#5966EA #EA59AE #EADD59 #59EA94
square
#5966EA #EA59AE #EADD59 #59EA94
split-complementary
#5966EA #EA9459 #AEEA59
monochromatic
#1724B2 #2334E3 #5966EA #8F98F1 #C6CAF8

Accessibility & contrast

On white

4.65
#5966EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5966EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5966EA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966EA#FFFFFF#000000##FFFFFF
##5966EA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#00869E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5966ea;
/* rgb */ color: rgb(89, 102, 234);
/* oklch */ color: oklch(57.4% 0.197 274.1);
Tailwind
colors: {
  custom: {
    50: '#9691f2',
    500: '#5966ea',
    950: '#000000',
  },
}
SCSS
$custom: #5966ea;
$custom-light: #9691f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5966ea",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 234.621,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.19722,
    "h": 274.1
  },
  "luminance": 0.17567
}

Semantic roles & 50–950 ramp

primary
#5966EA
secondary
#E9E5B6
accent
#C70CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5966EA

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

Preview Lab → · Contrast checker → · Palette generator →

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