#5A60EA#5A60EA

#5A60EA is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.204 H 275.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5A60EA
RGBrgb(90, 96, 234)
HSLhsl(238, 77%, 64%)
HSVhsv(238, 62%, 92%)
CMYKcmyk(61.5%, 59%, 0%, 8.2%)
CIE-LABlab(47.60, 38.57, -70.66)
CIE-LCHlch(47.60, 80.50, 298.63°)
OKLaboklab(56.37% 0.0206 -0.2033)
OKLCHoklch(56.37% 0.204 275.8)
XYZxyz(23.2458, 16.4780, 79.7815)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60EA #EAE45A
analogous
#5AA8EA #5A60EA #9C5AEA
triadic
#5A60EA #EA5A60 #60EA5A
tetradic
#5A60EA #EA5AA8 #EAE45A #5AEA9C
square
#5A60EA #EA5AA8 #EAE45A #5AEA9C
split-complementary
#5A60EA #EA9C5A #A8EA5A
monochromatic
#171DB3 #242CE3 #5A60EA #9094F1 #C7C9F8

Accessibility & contrast

On white

4.89
#5A60EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5A60EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60EA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60EA#FFFFFF#000000##FFFFFF
##5A60EA1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a60ea;
/* rgb */ color: rgb(90, 96, 234);
/* oklch */ color: oklch(56.4% 0.204 275.8);
Tailwind
colors: {
  custom: {
    50: '#978df2',
    500: '#5a60ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a60ea;
$custom-light: #978df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60ea",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 237.5,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.20431,
    "h": 275.8
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#5A60EA
secondary
#E9E7B6
accent
#D10CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A60EA

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

Preview Lab → · Contrast checker → · Palette generator →

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