#5960F6#5960F6

#5960F6 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.3% C 0.220 H 275.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5960F6
RGBrgb(89, 96, 246)
HSLhsl(237, 90%, 66%)
HSVhsv(237, 64%, 96%)
CMYKcmyk(63.8%, 61%, 0%, 3.5%)
CIE-LABlab(48.44, 42.32, -76.02)
CIE-LCHlch(48.44, 87.00, 299.11°)
OKLaboklab(57.26% 0.0191 -0.219)
OKLCHoklch(57.26% 0.22 275)
XYZxyz(24.9318, 17.1413, 89.1656)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960F6 #F6EF59
analogous
#59AEF6 #5960F6 #A059F6
triadic
#5960F6 #F65960 #60F659
tetradic
#5960F6 #F659AE #F6EF59 #59F6A0
square
#5960F6 #F659AE #F6EF59 #59F6A0
split-complementary
#5960F6 #F6A059 #AEF659
monochromatic
#0B13CA #1F28F3 #5960F6 #9398F9 #CDCFFC

Accessibility & contrast

On white

4.74
#5960F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5960F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960F6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960F6#FFFFFF#000000##FFFFFF
##5960F61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#006CF3
Tritanopia (blue-blind)
#0086A2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5960f6;
/* rgb */ color: rgb(89, 96, 246);
/* oklch */ color: oklch(57.3% 0.220 275.0);
Tailwind
colors: {
  custom: {
    50: '#988dfa',
    500: '#5960f6',
    950: '#000000',
  },
}
SCSS
$custom: #5960f6;
$custom-light: #988dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5960f6",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 237.325,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5726,
    "c": 0.21987,
    "h": 275
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#5960F6
secondary
#F0EDBB
accent
#DB00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5960F6

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

Preview Lab → · Contrast checker → · Palette generator →

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