#5966EF#5966EF

#5966EF is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 57.8% C 0.204 H 274.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5966EF
RGBrgb(89, 102, 239)
HSLhsl(235, 82%, 64%)
HSVhsv(235, 63%, 94%)
CMYKcmyk(62.8%, 57.3%, 0%, 6.3%)
CIE-LABlab(49.32, 36.42, -70.66)
CIE-LCHlch(49.32, 79.49, 297.26°)
OKLaboklab(57.75% 0.0143 -0.2033)
OKLCHoklch(57.75% 0.204 274)
XYZxyz(24.4460, 17.8565, 83.8030)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5966EF #EFE259
analogous
#59B1EF #5966EF #9759EF
triadic
#5966EF #EF5966 #66EF59
tetradic
#5966EF #EF59B1 #EFE259 #59EF97
square
#5966EF #EF59B1 #EFE259 #59EF97
split-complementary
#5966EF #EF9759 #B1EF59
monochromatic
#1221BC #2133EA #5966EF #9199F4 #C9CDFA

Accessibility & contrast

On white

4.59
#5966EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5966EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5966EF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5966EF#FFFFFF#000000##FFFFFF
##5966EF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5966ef;
/* rgb */ color: rgb(89, 102, 239);
/* oklch */ color: oklch(57.8% 0.204 274.0);
Tailwind
colors: {
  custom: {
    50: '#9691f5',
    500: '#5966ef',
    950: '#000000',
  },
}
SCSS
$custom: #5966ef;
$custom-light: #9691f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5966ef",
  "rgb": {
    "r": 89,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 234.8,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.20376,
    "h": 274
  },
  "luminance": 0.17859
}

Semantic roles & 50–950 ramp

primary
#5966EF
secondary
#ECE7B8
accent
#CC07DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5966EF

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

Preview Lab → · Contrast checker → · Palette generator →

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