#5960D3#5960D3

#5960D3 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.174 H 276.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5960D3
RGBrgb(89, 96, 211)
HSLhsl(237, 58%, 59%)
HSVhsv(237, 58%, 83%)
CMYKcmyk(57.8%, 54.5%, 0%, 17.3%)
CIE-LABlab(45.90, 30.89, -60.37)
CIE-LCHlch(45.90, 67.82, 297.09°)
OKLaboklab(54.58% 0.0193 -0.173)
OKLCHoklch(54.58% 0.174 276.4)
XYZxyz(20.0568, 15.1913, 63.4907)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960D3 #D3CC59
analogous
#599DD3 #5960D3 #8F59D3
triadic
#5960D3 #D35960 #60D359
tetradic
#5960D3 #D3599D #D3CC59 #59D38F
square
#5960D3 #D3599D #D3CC59 #59D38F
split-complementary
#5960D3 #D38F59 #9DD359
monochromatic
#252B8C #323ABD #5960D3 #898EE0 #BABDED

Accessibility & contrast

On white

5.20
#5960D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5960D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960D3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960D3#FFFFFF#000000##FFFFFF
##5960D31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F72D7
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5960d3;
/* rgb */ color: rgb(89, 96, 211);
/* oklch */ color: oklch(54.6% 0.174 276.4);
Tailwind
colors: {
  custom: {
    50: '#928de1',
    500: '#5960d3',
    950: '#000000',
  },
}
SCSS
$custom: #5960d3;
$custom-light: #928de1;
$custom-dark: #000000;
JSON
{
  "hex": "#5960d3",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 211
  },
  "hsl": {
    "h": 236.557,
    "s": 58.095,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.17412,
    "h": 276.4
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#5960D3
secondary
#DCD9AC
accent
#D846E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5960D3

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

Preview Lab → · Contrast checker → · Palette generator →

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