#5960CB#5960CB

#5960CB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.0% C 0.163 H 276.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5960CB
RGBrgb(89, 96, 203)
HSLhsl(236, 52%, 57%)
HSVhsv(236, 56%, 80%)
CMYKcmyk(56.2%, 52.7%, 0%, 20.4%)
CIE-LABlab(45.36, 28.28, -56.65)
CIE-LCHlch(45.36, 63.32, 296.53°)
OKLaboklab(54% 0.0189 -0.1621)
OKLCHoklch(54% 0.163 276.6)
XYZxyz(19.0787, 14.8001, 58.3397)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960CB #CBC459
analogous
#5999CB #5960CB #8B59CB
triadic
#5960CB #CB5960 #60CB59
tetradic
#5960CB #CB5999 #CBC459 #59CB8B
square
#5960CB #CB5999 #CBC459 #59CB8B
split-complementary
#5960CB #CB8B59 #99CB59
monochromatic
#282E81 #373EB0 #5960CB #888DDA #B6B9E8

Accessibility & contrast

On white

5.30
#5960CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5960CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960CB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960CB#FFFFFF#000000##FFFFFF
##5960CB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#0467C9
Tritanopia (blue-blind)
#19788C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5960cb;
/* rgb */ color: rgb(89, 96, 203);
/* oklch */ color: oklch(54.0% 0.163 276.6);
Tailwind
colors: {
  custom: {
    50: '#918ddb',
    500: '#5960cb',
    950: '#000000',
  },
}
SCSS
$custom: #5960cb;
$custom-light: #918ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5960cb",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 236.316,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54004,
    "c": 0.16318,
    "h": 276.6
  },
  "luminance": 0.14801
}

Semantic roles & 50–950 ramp

primary
#5960CB
secondary
#D7D4A9
accent
#D34CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5960CB

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

Preview Lab → · Contrast checker → · Palette generator →

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