#5A60CD#5A60CD

#5A60CD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.2% C 0.166 H 277.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5A60CD
RGBrgb(90, 96, 205)
HSLhsl(237, 53%, 58%)
HSVhsv(237, 56%, 80%)
CMYKcmyk(56.1%, 53.2%, 0%, 19.6%)
CIE-LABlab(45.56, 29.12, -57.47)
CIE-LCHlch(45.56, 64.43, 296.87°)
OKLaboklab(54.22% 0.0201 -0.1645)
OKLCHoklch(54.22% 0.166 277)
XYZxyz(19.4152, 14.9458, 59.6075)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60CD #CDC75A
analogous
#5A99CD #5A60CD #8E5ACD
triadic
#5A60CD #CD5A60 #60CD5A
tetradic
#5A60CD #CD5A99 #CDC75A #5ACD8E
square
#5A60CD #CD5A99 #CDC75A #5ACD8E
split-complementary
#5A60CD #CD8E5A #99CD5A
monochromatic
#282D84 #363DB3 #5A60CD #898DDB #B8BBE9

Accessibility & contrast

On white

5.26
#5A60CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5A60CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60CD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60CD#FFFFFF#000000##FFFFFF
##5A60CD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#1A798D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a60cd;
/* rgb */ color: rgb(90, 96, 205);
/* oklch */ color: oklch(54.2% 0.166 277.0);
Tailwind
colors: {
  custom: {
    50: '#928ddd',
    500: '#5a60cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a60cd;
$custom-light: #928ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60cd",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 236.87,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.16571,
    "h": 277
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#5A60CD
secondary
#D8D6AA
accent
#D54BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A60CD

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

Preview Lab → · Contrast checker → · Palette generator →

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