#5A60D4#5A60D4

#5A60D4 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.175 H 276.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5A60D4
RGBrgb(90, 96, 212)
HSLhsl(237, 59%, 59%)
HSVhsv(237, 58%, 83%)
CMYKcmyk(57.5%, 54.7%, 0%, 16.9%)
CIE-LABlab(46.03, 31.40, -60.72)
CIE-LCHlch(46.03, 68.36, 297.34°)
OKLaboklab(54.72% 0.0204 -0.174)
OKLCHoklch(54.72% 0.175 276.7)
XYZxyz(20.2792, 15.2914, 64.1575)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60D4 #D4CE5A
analogous
#5A9DD4 #5A60D4 #915AD4
triadic
#5A60D4 #D45A60 #60D45A
tetradic
#5A60D4 #D45A9D #D4CE5A #5AD491
square
#5A60D4 #D45A9D #D4CE5A #5AD491
split-complementary
#5A60D4 #D4915A #9DD45A
monochromatic
#252A8E #3239BF #5A60D4 #8B8FE1 #BBBEED

Accessibility & contrast

On white

5.17
#5A60D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5A60D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60D4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60D4#FFFFFF#000000##FFFFFF
##5A60D41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C72D8
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#067B91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a60d4;
/* rgb */ color: rgb(90, 96, 212);
/* oklch */ color: oklch(54.7% 0.175 276.7);
Tailwind
colors: {
  custom: {
    50: '#938de2',
    500: '#5a60d4',
    950: '#000000',
  },
}
SCSS
$custom: #5a60d4;
$custom-light: #938de2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60d4",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 212
  },
  "hsl": {
    "h": 237.049,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.17524,
    "h": 276.7
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#5A60D4
secondary
#DDDAAD
accent
#DA46E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A60D4

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

Preview Lab → · Contrast checker → · Palette generator →

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