#5960F1#5960F1

#5960F1 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.9% C 0.214 H 275.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5960F1
RGBrgb(89, 96, 241)
HSLhsl(237, 84%, 65%)
HSVhsv(237, 63%, 95%)
CMYKcmyk(63.1%, 60.2%, 0%, 5.5%)
CIE-LABlab(48.06, 40.69, -73.84)
CIE-LCHlch(48.06, 84.31, 298.86°)
OKLaboklab(56.86% 0.0193 -0.2126)
OKLCHoklch(56.86% 0.214 275.2)
XYZxyz(24.1747, 16.8384, 85.1782)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960F1 #F1EA59
analogous
#59ACF1 #5960F1 #9E59F1
triadic
#5960F1 #F15960 #60F159
tetradic
#5960F1 #F159AC #F1EA59 #59F19E
square
#5960F1 #F159AC #F1EA59 #59F19E
split-complementary
#5960F1 #F19E59 #ACF159
monochromatic
#1018BF #212AEC #5960F1 #9196F6 #CACCFB

Accessibility & contrast

On white

4.81
#5960F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5960F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960F1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960F1#FFFFFF#000000##FFFFFF
##5960F11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5960f1;
/* rgb */ color: rgb(89, 96, 241);
/* oklch */ color: oklch(56.9% 0.214 275.2);
Tailwind
colors: {
  custom: {
    50: '#978df7',
    500: '#5960f1',
    950: '#000000',
  },
}
SCSS
$custom: #5960f1;
$custom-light: #978df7;
$custom-dark: #000000;
JSON
{
  "hex": "#5960f1",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 241
  },
  "hsl": {
    "h": 237.237,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.21352,
    "h": 275.2
  },
  "luminance": 0.1684
}

Semantic roles & 50–950 ramp

primary
#5960F1
secondary
#EDEBB9
accent
#D705E1
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5960F1

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

Preview Lab → · Contrast checker → · Palette generator →

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