#5960AE#5960AE

#5960AE is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.122 H 277.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5960AE
RGBrgb(89, 96, 174)
HSLhsl(235, 34%, 52%)
HSVhsv(235, 49%, 68%)
CMYKcmyk(48.9%, 44.8%, 0%, 31.8%)
CIE-LABlab(43.57, 18.95, -42.66)
CIE-LCHlch(43.57, 46.68, 293.96°)
OKLaboklab(52.08% 0.0157 -0.121)
OKLCHoklch(52.08% 0.122 277.4)
XYZxyz(15.9403, 13.5447, 41.8106)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960AE #AEA759
analogous
#598BAE #5960AE #7D59AE
triadic
#5960AE #AE5960 #60AE59
tetradic
#5960AE #AE598B #AEA759 #59AE7D
square
#5960AE #AE598B #AEA759 #59AE7D
split-complementary
#5960AE #AE7D59 #8BAE59
monochromatic
#2E325E #424888 #5960AE #8287C2 #ABAFD6

Accessibility & contrast

On white

5.66
#5960AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5960AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960AE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960AE#FFFFFF#000000##FFFFFF
##5960AE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#39707E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5960ae;
/* rgb */ color: rgb(89, 96, 174);
/* oklch */ color: oklch(52.1% 0.122 277.4);
Tailwind
colors: {
  custom: {
    50: '#8d8dc6',
    500: '#5960ae',
    950: '#000000',
  },
}
SCSS
$custom: #5960ae;
$custom-light: #8d8dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5960ae",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 174
  },
  "hsl": {
    "h": 235.059,
    "s": 34.413,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.12201,
    "h": 277.4
  },
  "luminance": 0.13546
}

Semantic roles & 50–950 ramp

primary
#5960AE
secondary
#C4C19F
accent
#C15DCA
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #5960AE

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

Preview Lab → · Contrast checker → · Palette generator →

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