#5960BB#5960BB

#5960BB is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.141 H 277.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5960BB
RGBrgb(89, 96, 187)
HSLhsl(236, 42%, 54%)
HSVhsv(236, 52%, 73%)
CMYKcmyk(52.4%, 48.7%, 0%, 26.7%)
CIE-LABlab(44.34, 23.10, -49.03)
CIE-LCHlch(44.34, 54.20, 295.23°)
OKLaboklab(52.91% 0.0175 -0.1397)
OKLCHoklch(52.91% 0.141 277.1)
XYZxyz(17.2695, 14.0764, 48.8111)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960BB #BBB459
analogous
#5991BB #5960BB #8359BB
triadic
#5960BB #BB5960 #60BB59
tetradic
#5960BB #BB5991 #BBB459 #59BB83
square
#5960BB #BB5991 #BBB459 #59BB83
split-complementary
#5960BB #BB8359 #91BB59
monochromatic
#2D316D #3E4598 #5960BB #848ACD #B0B3DF

Accessibility & contrast

On white

5.50
#5960BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5960BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960BB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960BB#FFFFFF#000000##FFFFFF
##5960BB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#2B65B9
Tritanopia (blue-blind)
#2E7484
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5960bb;
/* rgb */ color: rgb(89, 96, 187);
/* oklch */ color: oklch(52.9% 0.141 277.1);
Tailwind
colors: {
  custom: {
    50: '#8f8dd0',
    500: '#5960bb',
    950: '#000000',
  },
}
SCSS
$custom: #5960bb;
$custom-light: #8f8dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5960bb",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 235.714,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.14077,
    "h": 277.1
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#5960BB
secondary
#CDCAA3
accent
#C956D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5960BB

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

Preview Lab → · Contrast checker → · Palette generator →

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