#5960C7#5960C7

#5960C7 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.158 H 276.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5960C7
RGBrgb(89, 96, 199)
HSLhsl(236, 50%, 56%)
HSVhsv(236, 55%, 78%)
CMYKcmyk(55.3%, 51.8%, 0%, 22%)
CIE-LABlab(45.10, 26.98, -54.77)
CIE-LCHlch(45.10, 61.05, 296.22°)
OKLaboklab(53.73% 0.0186 -0.1565)
OKLCHoklch(53.73% 0.158 276.8)
XYZxyz(18.6082, 14.6119, 55.8616)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960C7 #C7C059
analogous
#5997C7 #5960C7 #8959C7
triadic
#5960C7 #C75960 #60C759
tetradic
#5960C7 #C75997 #C7C059 #59C789
square
#5960C7 #C75997 #C7C059 #59C789
split-complementary
#5960C7 #C78959 #97C759
monochromatic
#2A2F7C #3940AA #5960C7 #878CD6 #B5B8E6

Accessibility & contrast

On white

5.35
#5960C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5960C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960C7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960C7#FFFFFF#000000##FFFFFF
##5960C71.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286FCB
Deuteranopia (green-blind)
#1466C5
Tritanopia (blue-blind)
#20778A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5960c7;
/* rgb */ color: rgb(89, 96, 199);
/* oklch */ color: oklch(53.7% 0.158 276.8);
Tailwind
colors: {
  custom: {
    50: '#908dd9',
    500: '#5960c7',
    950: '#000000',
  },
}
SCSS
$custom: #5960c7;
$custom-light: #908dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5960c7",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 199
  },
  "hsl": {
    "h": 236.182,
    "s": 49.55,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53725,
    "c": 0.15765,
    "h": 276.8
  },
  "luminance": 0.14613
}

Semantic roles & 50–950 ramp

primary
#5960C7
secondary
#D4D2A7
accent
#D04FD9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5960C7

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

Preview Lab → · Contrast checker → · Palette generator →

#5960C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva