#5A60D5#5A60D5

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

Color values

HEX#5A60D5
RGBrgb(90, 96, 213)
HSLhsl(237, 59%, 59%)
HSVhsv(237, 58%, 84%)
CMYKcmyk(57.7%, 54.9%, 0%, 16.5%)
CIE-LABlab(46.10, 31.72, -61.18)
CIE-LCHlch(46.10, 68.92, 297.41°)
OKLaboklab(54.79% 0.0205 -0.1754)
OKLCHoklch(54.79% 0.177 276.7)
XYZxyz(20.4057, 15.3420, 64.8239)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60D5 #D5CF5A
analogous
#5A9ED5 #5A60D5 #925AD5
triadic
#5A60D5 #D55A60 #60D55A
tetradic
#5A60D5 #D55A9E #D5CF5A #5AD592
square
#5A60D5 #D55A9E #D5CF5A #5AD592
split-complementary
#5A60D5 #D5925A #9ED55A
monochromatic
#252A90 #3138C1 #5A60D5 #8B8FE1 #BCBEEE

Accessibility & contrast

On white

5.16
#5A60D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5A60D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60D5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60D5#FFFFFF#000000##FFFFFF
##5A60D51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0872D9
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#017B91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a60d5;
/* rgb */ color: rgb(90, 96, 213);
/* oklch */ color: oklch(54.8% 0.177 276.7);
Tailwind
colors: {
  custom: {
    50: '#938de3',
    500: '#5a60d5',
    950: '#000000',
  },
}
SCSS
$custom: #5a60d5;
$custom-light: #938de3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60d5",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 213
  },
  "hsl": {
    "h": 237.073,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.17659,
    "h": 276.7
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#5A60D5
secondary
#DDDBAD
accent
#DB45E3
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #5A60D5

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

Preview Lab → · Contrast checker → · Palette generator →

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