#5A60EE#5A60EE

#5A60EE is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.7% C 0.209 H 275.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5A60EE
RGBrgb(90, 96, 238)
HSLhsl(238, 81%, 64%)
HSVhsv(238, 62%, 93%)
CMYKcmyk(62.2%, 59.7%, 0%, 6.7%)
CIE-LABlab(47.89, 39.87, -72.42)
CIE-LCHlch(47.89, 82.67, 298.83°)
OKLaboklab(56.69% 0.0205 -0.2085)
OKLCHoklch(56.69% 0.209 275.6)
XYZxyz(23.8269, 16.7105, 82.8422)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60EE #EEE85A
analogous
#5AAAEE #5A60EE #9E5AEE
triadic
#5A60EE #EE5A60 #60EE5A
tetradic
#5A60EE #EE5AAA #EEE85A #5AEE9E
square
#5A60EE #EE5AAA #EEE85A #5AEE9E
split-complementary
#5A60EE #EE9E5A #AAEE5A
monochromatic
#131ABA #232BE8 #5A60EE #9195F4 #C9CBF9

Accessibility & contrast

On white

4.84
#5A60EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5A60EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60EE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60EE#FFFFFF#000000##FFFFFF
##5A60EE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#006BEB
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a60ee;
/* rgb */ color: rgb(90, 96, 238);
/* oklch */ color: oklch(56.7% 0.209 275.6);
Tailwind
colors: {
  custom: {
    50: '#978df5',
    500: '#5a60ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a60ee;
$custom-light: #978df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60ee",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 238
  },
  "hsl": {
    "h": 237.568,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56686,
    "c": 0.20946,
    "h": 275.6
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#5A60EE
secondary
#ECE9B8
accent
#D508DE
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A60EE

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

Preview Lab → · Contrast checker → · Palette generator →

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