#5960BF#5960BF

#5960BF is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.146 H 277.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5960BF
RGBrgb(89, 96, 191)
HSLhsl(236, 44%, 55%)
HSVhsv(236, 53%, 75%)
CMYKcmyk(53.4%, 49.7%, 0%, 25.1%)
CIE-LABlab(44.59, 24.39, -50.96)
CIE-LCHlch(44.59, 56.49, 295.57°)
OKLaboklab(53.18% 0.0179 -0.1453)
OKLCHoklch(53.18% 0.146 277)
XYZxyz(17.7037, 14.2500, 51.0978)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960BF #BFB859
analogous
#5993BF #5960BF #8559BF
triadic
#5960BF #BF5960 #60BF59
tetradic
#5960BF #BF5993 #BFB859 #59BF85
square
#5960BF #BF5993 #BFB859 #59BF85
split-complementary
#5960BF #BF8559 #93BF59
monochromatic
#2C3172 #3D449E #5960BF #858AD0 #B1B5E1

Accessibility & contrast

On white

5.45
#5960BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5960BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960BF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960BF#FFFFFF#000000##FFFFFF
##5960BF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#2A7586
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5960bf;
/* rgb */ color: rgb(89, 96, 191);
/* oklch */ color: oklch(53.2% 0.146 277.0);
Tailwind
colors: {
  custom: {
    50: '#8f8dd3',
    500: '#5960bf',
    950: '#000000',
  },
}
SCSS
$custom: #5960bf;
$custom-light: #8f8dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5960bf",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 191
  },
  "hsl": {
    "h": 235.882,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.14645,
    "h": 277
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

primary
#5960BF
secondary
#CFCCA4
accent
#CB54D4
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5960BF

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

Preview Lab → · Contrast checker → · Palette generator →

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