#5A60EC#5A60EC

#5A60EC is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.5% C 0.207 H 275.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5A60EC
RGBrgb(90, 96, 236)
HSLhsl(238, 79%, 64%)
HSVhsv(238, 62%, 93%)
CMYKcmyk(61.9%, 59.3%, 0%, 7.5%)
CIE-LABlab(47.74, 39.22, -71.54)
CIE-LCHlch(47.74, 81.59, 298.73°)
OKLaboklab(56.53% 0.0205 -0.2059)
OKLCHoklch(56.53% 0.207 275.7)
XYZxyz(23.5347, 16.5936, 81.3033)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60EC #ECE65A
analogous
#5AA9EC #5A60EC #9D5AEC
triadic
#5A60EC #EC5A60 #60EC5A
tetradic
#5A60EC #EC5AA9 #ECE65A #5AEC9D
square
#5A60EC #EC5AA9 #ECE65A #5AEC9D
split-complementary
#5A60EC #EC9D5A #A9EC5A
monochromatic
#151CB7 #232BE6 #5A60EC #9195F2 #C8CAF9

Accessibility & contrast

On white

4.86
#5A60EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5A60EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60EC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60EC#FFFFFF#000000##FFFFFF
##5A60EC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a60ec;
/* rgb */ color: rgb(90, 96, 236);
/* oklch */ color: oklch(56.5% 0.207 275.7);
Tailwind
colors: {
  custom: {
    50: '#978df3',
    500: '#5a60ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a60ec;
$custom-light: #978df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60ec",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 237.534,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.20689,
    "h": 275.7
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#5A60EC
secondary
#EBE8B7
accent
#D30ADC
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A60EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5A60EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva