#5960D4#5960D4

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

Color values

HEX#5960D4
RGBrgb(89, 96, 212)
HSLhsl(237, 59%, 59%)
HSVhsv(237, 58%, 83%)
CMYKcmyk(58%, 54.7%, 0%, 16.9%)
CIE-LABlab(45.96, 31.21, -60.83)
CIE-LCHlch(45.96, 68.37, 297.16°)
OKLaboklab(54.65% 0.0193 -0.1744)
OKLCHoklch(54.65% 0.175 276.3)
XYZxyz(20.1825, 15.2416, 64.1530)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960D4 #D4CD59
analogous
#599ED4 #5960D4 #9059D4
triadic
#5960D4 #D45960 #60D459
tetradic
#5960D4 #D4599E #D4CD59 #59D490
square
#5960D4 #D4599E #D4CD59 #59D490
split-complementary
#5960D4 #D49059 #9ED459
monochromatic
#252B8E #3139BE #5960D4 #8A8FE1 #BABDED

Accessibility & contrast

On white

5.19
#5960D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5960D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960D4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960D4#FFFFFF#000000##FFFFFF
##5960D41.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B72D8
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5960d4;
/* rgb */ color: rgb(89, 96, 212);
/* oklch */ color: oklch(54.6% 0.175 276.3);
Tailwind
colors: {
  custom: {
    50: '#928de2',
    500: '#5960d4',
    950: '#000000',
  },
}
SCSS
$custom: #5960d4;
$custom-light: #928de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5960d4",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 212
  },
  "hsl": {
    "h": 236.585,
    "s": 58.852,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.17546,
    "h": 276.3
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#5960D4
secondary
#DDDAAC
accent
#D946E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5960D4

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

Preview Lab → · Contrast checker → · Palette generator →

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