#5A60CF#5A60CF

#5A60CF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.168 H 276.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5A60CF
RGBrgb(90, 96, 207)
HSLhsl(237, 55%, 58%)
HSVhsv(237, 57%, 81%)
CMYKcmyk(56.5%, 53.6%, 0%, 18.8%)
CIE-LABlab(45.69, 29.77, -58.41)
CIE-LCHlch(45.69, 65.56, 297.01°)
OKLaboklab(54.36% 0.0202 -0.1672)
OKLCHoklch(54.36% 0.168 276.9)
XYZxyz(19.6582, 15.0430, 60.8871)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60CF #CFC95A
analogous
#5A9ACF #5A60CF #8E5ACF
triadic
#5A60CF #CF5A60 #60CF5A
tetradic
#5A60CF #CF5A9A #CFC95A #5ACF8E
square
#5A60CF #CF5A9A #CFC95A #5ACF8E
split-complementary
#5A60CF #CF8E5A #9ACF5A
monochromatic
#272C87 #353CB7 #5A60CF #898EDD #B9BBEB

Accessibility & contrast

On white

5.24
#5A60CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5A60CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60CF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60CF#FFFFFF#000000##FFFFFF
##5A60CF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#167A8E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a60cf;
/* rgb */ color: rgb(90, 96, 207);
/* oklch */ color: oklch(54.4% 0.168 276.9);
Tailwind
colors: {
  custom: {
    50: '#928dde',
    500: '#5a60cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a60cf;
$custom-light: #928dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60cf",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 207
  },
  "hsl": {
    "h": 236.923,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54357,
    "c": 0.16845,
    "h": 276.9
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#5A60CF
secondary
#DAD7AB
accent
#D74ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A60CF

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

Preview Lab → · Contrast checker → · Palette generator →

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