#5A60ED#5A60ED

#5A60ED is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.6% C 0.208 H 275.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5A60ED
RGBrgb(90, 96, 237)
HSLhsl(238, 80%, 64%)
HSVhsv(238, 62%, 93%)
CMYKcmyk(62%, 59.5%, 0%, 7.1%)
CIE-LABlab(47.82, 39.54, -71.98)
CIE-LCHlch(47.82, 82.13, 298.78°)
OKLaboklab(56.61% 0.0205 -0.2072)
OKLCHoklch(56.61% 0.208 275.7)
XYZxyz(23.6804, 16.6519, 82.0706)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60ED #EDE75A
analogous
#5AAAED #5A60ED #9E5AED
triadic
#5A60ED #ED5A60 #60ED5A
tetradic
#5A60ED #ED5AAA #EDE75A #5AED9E
square
#5A60ED #ED5AAA #EDE75A #5AED9E
split-complementary
#5A60ED #ED9E5A #AAED5A
monochromatic
#141BB8 #232BE7 #5A60ED #9195F3 #C8CAF9

Accessibility & contrast

On white

4.85
#5A60ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5A60ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60ED
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60ED#FFFFFF#000000##FFFFFF
##5A60ED1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a60ed;
/* rgb */ color: rgb(90, 96, 237);
/* oklch */ color: oklch(56.6% 0.208 275.7);
Tailwind
colors: {
  custom: {
    50: '#978df4',
    500: '#5a60ed',
    950: '#000000',
  },
}
SCSS
$custom: #5a60ed;
$custom-light: #978df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60ed",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 237
  },
  "hsl": {
    "h": 237.551,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56607,
    "c": 0.20817,
    "h": 275.7
  },
  "luminance": 0.16654
}

Semantic roles & 50–950 ramp

primary
#5A60ED
secondary
#EBE9B8
accent
#D409DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A60ED

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

Preview Lab → · Contrast checker → · Palette generator →

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