#5960F2#5960F2

#5960F2 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.9% C 0.215 H 275.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5960F2
RGBrgb(89, 96, 242)
HSLhsl(237, 85%, 65%)
HSVhsv(237, 63%, 95%)
CMYKcmyk(63.2%, 60.3%, 0%, 5.1%)
CIE-LABlab(48.13, 41.02, -74.28)
CIE-LCHlch(48.13, 84.85, 298.91°)
OKLaboklab(56.94% 0.0192 -0.2139)
OKLCHoklch(56.94% 0.215 275.1)
XYZxyz(24.3244, 16.8983, 85.9670)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960F2 #F2EB59
analogous
#59ACF2 #5960F2 #9F59F2
triadic
#5960F2 #F25960 #60F259
tetradic
#5960F2 #F259AC #F2EB59 #59F29F
square
#5960F2 #F259AC #F2EB59 #59F29F
split-complementary
#5960F2 #F29F59 #ACF259
monochromatic
#0F17C1 #202AEE #5960F2 #9296F6 #CBCDFB

Accessibility & contrast

On white

4.79
#5960F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5960F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960F2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960F2#FFFFFF#000000##FFFFFF
##5960F21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5960f2;
/* rgb */ color: rgb(89, 96, 242);
/* oklch */ color: oklch(56.9% 0.215 275.1);
Tailwind
colors: {
  custom: {
    50: '#978df7',
    500: '#5960f2',
    950: '#000000',
  },
}
SCSS
$custom: #5960f2;
$custom-light: #978df7;
$custom-dark: #000000;
JSON
{
  "hex": "#5960f2",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 237.255,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.21479,
    "h": 275.1
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#5960F2
secondary
#EDEBB9
accent
#D804E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5960F2

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

Preview Lab → · Contrast checker → · Palette generator →

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