#5A60EF#5A60EF

#5A60EF is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.8% C 0.211 H 275.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5A60EF
RGBrgb(90, 96, 239)
HSLhsl(238, 82%, 65%)
HSVhsv(238, 62%, 94%)
CMYKcmyk(62.3%, 59.8%, 0%, 6.3%)
CIE-LABlab(47.97, 40.19, -72.86)
CIE-LCHlch(47.97, 83.21, 298.88°)
OKLaboklab(56.77% 0.0204 -0.2097)
OKLCHoklch(56.77% 0.211 275.6)
XYZxyz(23.9742, 16.7694, 83.6181)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60EF #EFE95A
analogous
#5AABEF #5A60EF #9F5AEF
triadic
#5A60EF #EF5A60 #60EF5A
tetradic
#5A60EF #EF5AAB #EFE95A #5AEF9F
square
#5A60EF #EF5AAB #EFE95A #5AEF9F
split-complementary
#5A60EF #EF9F5A #ABEF5A
monochromatic
#1219BC #222AEA #5A60EF #9296F4 #CACCFA

Accessibility & contrast

On white

4.82
#5A60EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5A60EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60EF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60EF#FFFFFF#000000##FFFFFF
##5A60EF1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a60ef;
/* rgb */ color: rgb(90, 96, 239);
/* oklch */ color: oklch(56.8% 0.211 275.6);
Tailwind
colors: {
  custom: {
    50: '#978df5',
    500: '#5a60ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a60ef;
$custom-light: #978df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60ef",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 237.584,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.21074,
    "h": 275.6
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

primary
#5A60EF
secondary
#ECEAB9
accent
#D607DF
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A60EF

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

Preview Lab → · Contrast checker → · Palette generator →

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