#5A60EB#5A60EB

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

Color values

HEX#5A60EB
RGBrgb(90, 96, 235)
HSLhsl(238, 78%, 64%)
HSVhsv(238, 62%, 92%)
CMYKcmyk(61.7%, 59.1%, 0%, 7.8%)
CIE-LABlab(47.67, 38.89, -71.10)
CIE-LCHlch(47.67, 81.04, 298.68°)
OKLaboklab(56.45% 0.0206 -0.2046)
OKLCHoklch(56.45% 0.206 275.7)
XYZxyz(23.3898, 16.5357, 80.5403)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60EB #EBE55A
analogous
#5AA8EB #5A60EB #9C5AEB
triadic
#5A60EB #EB5A60 #60EB5A
tetradic
#5A60EB #EB5AA8 #EBE55A #5AEB9C
square
#5A60EB #EB5AA8 #EBE55A #5AEB9C
split-complementary
#5A60EB #EB9C5A #A8EB5A
monochromatic
#161CB5 #232BE4 #5A60EB #9195F2 #C7C9F8

Accessibility & contrast

On white

4.88
#5A60EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5A60EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60EB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60EB#FFFFFF#000000##FFFFFF
##5A60EB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a60eb;
/* rgb */ color: rgb(90, 96, 235);
/* oklch */ color: oklch(56.5% 0.206 275.7);
Tailwind
colors: {
  custom: {
    50: '#978df2',
    500: '#5a60eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a60eb;
$custom-light: #978df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60eb",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 237.517,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.2056,
    "h": 275.7
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#5A60EB
secondary
#EAE8B7
accent
#D20BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A60EB

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

Preview Lab → · Contrast checker → · Palette generator →

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