#5966FC#5966FC

#5966FC is a mid, highly saturated blue. Relative luminance 0.187; OKLCH L 58.8% C 0.220 H 273.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5966FC
RGBrgb(89, 102, 252)
HSLhsl(235, 96%, 67%)
HSVhsv(235, 65%, 99%)
CMYKcmyk(64.7%, 59.5%, 0%, 1.2%)
CIE-LABlab(50.28, 40.70, -76.36)
CIE-LCHlch(50.28, 86.53, 298.06°)
OKLaboklab(58.76% 0.0141 -0.22)
OKLCHoklch(58.76% 0.22 273.7)
XYZxyz(26.4360, 18.6525, 94.2837)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966FC #FCEF59
analogous
#59B7FC #5966FC #9E59FC
triadic
#5966FC #FC5966 #66FC59
tetradic
#5966FC #FC59B7 #FCEF59 #59FC9E
square
#5966FC #FC59B7 #FCEF59 #59FC9E
split-complementary
#5966FC #FC9E59 #B7FC59
monochromatic
#0415D7 #1D2FFB #5966FC #959DFD #D1D5FE

Accessibility & contrast

On white

4.44
#5966FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5966FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5966FC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966FC#FFFFFF#000000##000000
##5966FC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0070F9
Tritanopia (blue-blind)
#008BA7
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5966fc;
/* rgb */ color: rgb(89, 102, 252);
/* oklch */ color: oklch(58.8% 0.220 273.7);
Tailwind
colors: {
  custom: {
    50: '#9991fe',
    500: '#5966fc',
    950: '#000000',
  },
}
SCSS
$custom: #5966fc;
$custom-light: #9991fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5966fc",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 235.215,
    "s": 96.45,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58759,
    "c": 0.22044,
    "h": 273.7
  },
  "luminance": 0.18655
}

Semantic roles & 50–950 ramp

primary
#5966FC
secondary
#F2EEBE
accent
#D300E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D18
muted
#7F7D86

Preview Lab

Preview with #5966FC

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

Preview Lab → · Contrast checker → · Palette generator →

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