#5966F2#5966F2

#5966F2 is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.0% C 0.208 H 273.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5966F2
RGBrgb(89, 102, 242)
HSLhsl(235, 85%, 65%)
HSVhsv(235, 63%, 95%)
CMYKcmyk(63.2%, 57.9%, 0%, 5.1%)
CIE-LABlab(49.54, 37.41, -71.99)
CIE-LCHlch(49.54, 81.13, 297.46°)
OKLaboklab(57.98% 0.0143 -0.2071)
OKLCHoklch(57.98% 0.208 273.9)
XYZxyz(24.8929, 18.0353, 86.1565)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966F2 #F2E559
analogous
#59B3F2 #5966F2 #9959F2
triadic
#5966F2 #F25966 #66F259
tetradic
#5966F2 #F259B3 #F2E559 #59F299
square
#5966F2 #F259B3 #F2E559 #59F299
split-complementary
#5966F2 #F29959 #B3F259
monochromatic
#0F1EC1 #2032EE #5966F2 #929AF6 #CBCFFB

Accessibility & contrast

On white

4.56
#5966F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#5966F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5966F2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966F2#FFFFFF#000000##000000
##5966F21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5966f2;
/* rgb */ color: rgb(89, 102, 242);
/* oklch */ color: oklch(58.0% 0.208 273.9);
Tailwind
colors: {
  custom: {
    50: '#9791f7',
    500: '#5966f2',
    950: '#000000',
  },
}
SCSS
$custom: #5966f2;
$custom-light: #9791f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5966f2",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 234.902,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.20764,
    "h": 273.9
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#5966F2
secondary
#EDE9B9
accent
#CF04E2
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5966F2

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

Preview Lab → · Contrast checker → · Palette generator →

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