#5A60E7#5A60E7

#5A60E7 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.1% C 0.200 H 275.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5A60E7
RGBrgb(90, 96, 231)
HSLhsl(237, 75%, 63%)
HSVhsv(237, 61%, 91%)
CMYKcmyk(61%, 58.4%, 0%, 9.4%)
CIE-LABlab(47.37, 37.59, -69.33)
CIE-LCHlch(47.37, 78.86, 298.47°)
OKLaboklab(56.14% 0.0206 -0.1994)
OKLCHoklch(56.14% 0.2 275.9)
XYZxyz(22.8184, 16.3071, 77.5309)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60E7 #E7E15A
analogous
#5AA6E7 #5A60E7 #9A5AE7
triadic
#5A60E7 #E75A60 #60E75A
tetradic
#5A60E7 #E75AA6 #E7E15A #5AE79A
square
#5A60E7 #E75AA6 #E7E15A #5AE79A
split-complementary
#5A60E7 #E79A5A #A6E75A
monochromatic
#1920AD #252DDF #5A60E7 #8F93EF #C5C7F7

Accessibility & contrast

On white

4.93
#5A60E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5A60E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60E7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60E7#FFFFFF#000000##FFFFFF
##5A60E71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a60e7;
/* rgb */ color: rgb(90, 96, 231);
/* oklch */ color: oklch(56.1% 0.200 275.9);
Tailwind
colors: {
  custom: {
    50: '#968df0',
    500: '#5a60e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a60e7;
$custom-light: #968df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60e7",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 231
  },
  "hsl": {
    "h": 237.447,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5614,
    "c": 0.20042,
    "h": 275.9
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#5A60E7
secondary
#E8E6B5
accent
#CE0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85

Preview Lab

Preview with #5A60E7

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

Preview Lab → · Contrast checker → · Palette generator →

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