#5960E3#5960E3

#5960E3 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.8% C 0.195 H 275.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5960E3
RGBrgb(89, 96, 227)
HSLhsl(237, 71%, 62%)
HSVhsv(237, 61%, 89%)
CMYKcmyk(60.8%, 57.7%, 0%, 11%)
CIE-LABlab(47.02, 36.12, -67.65)
CIE-LCHlch(47.02, 76.69, 298.10°)
OKLaboklab(55.77% 0.0195 -0.1945)
OKLCHoklch(55.77% 0.195 275.7)
XYZxyz(22.1633, 16.0339, 74.5851)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5960E3 #E3DC59
analogous
#59A5E3 #5960E3 #9759E3
triadic
#5960E3 #E35960 #60E359
tetradic
#5960E3 #E359A5 #E3DC59 #59E397
square
#5960E3 #E359A5 #E3DC59 #59E397
split-complementary
#5960E3 #E39759 #A5E359
monochromatic
#1C23A6 #252EDA #5960E3 #8D92EC #C2C4F5

Accessibility & contrast

On white

4.99
#5960E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5960E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5960E3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5960E3#FFFFFF#000000##FFFFFF
##5960E31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5960e3;
/* rgb */ color: rgb(89, 96, 227);
/* oklch */ color: oklch(55.8% 0.195 275.7);
Tailwind
colors: {
  custom: {
    50: '#958ded',
    500: '#5960e3',
    950: '#000000',
  },
}
SCSS
$custom: #5960e3;
$custom-light: #958ded;
$custom-dark: #000000;
JSON
{
  "hex": "#5960e3",
  "rgb": {
    "r": 89,
    "g": 96,
    "b": 227
  },
  "hsl": {
    "h": 236.957,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.19543,
    "h": 275.7
  },
  "luminance": 0.16036
}

Semantic roles & 50–950 ramp

primary
#5960E3
secondary
#E5E3B2
accent
#C912D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5960E3

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

Preview Lab → · Contrast checker → · Palette generator →

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