#5960D9#5960D9

#5960D9 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.0% C 0.182 H 276.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5960D9
RGBrgb(89, 96, 217)
HSLhsl(237, 63%, 60%)
HSVhsv(237, 59%, 85%)
CMYKcmyk(59%, 55.8%, 0%, 14.9%)
CIE-LABlab(46.31, 32.85, -63.13)
CIE-LCHlch(46.31, 71.16, 297.49°)
OKLaboklab(55.02% 0.0194 -0.1811)
OKLCHoklch(55.02% 0.182 276.1)
XYZxyz(20.8230, 15.4978, 67.5263)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960D9 #D9D259
analogous
#59A0D9 #5960D9 #9259D9
triadic
#5960D9 #D95960 #60D959
tetradic
#5960D9 #D959A0 #D9D259 #59D992
square
#5960D9 #D959A0 #D9D259 #59D992
split-complementary
#5960D9 #D99259 #A0D959
monochromatic
#222895 #2E36C7 #5960D9 #8B90E4 #BDBFF0

Accessibility & contrast

On white

5.12
#5960D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5960D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960D9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960D9#FFFFFF#000000##FFFFFF
##5960D91.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5960d9;
/* rgb */ color: rgb(89, 96, 217);
/* oklch */ color: oklch(55.0% 0.182 276.1);
Tailwind
colors: {
  custom: {
    50: '#938de6',
    500: '#5960d9',
    950: '#000000',
  },
}
SCSS
$custom: #5960d9;
$custom-light: #938de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5960d9",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 217
  },
  "hsl": {
    "h": 236.719,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.55016,
    "c": 0.18219,
    "h": 276.1
  },
  "luminance": 0.15499
}

Semantic roles & 50–950 ramp

primary
#5960D9
secondary
#E0DDAE
accent
#DD42E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5960D9

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

Preview Lab → · Contrast checker → · Palette generator →

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