#5A60CB#5A60CB

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

Color values

HEX#5A60CB
RGBrgb(90, 96, 203)
HSLhsl(237, 52%, 57%)
HSVhsv(237, 56%, 80%)
CMYKcmyk(55.7%, 52.7%, 0%, 20.4%)
CIE-LABlab(45.43, 28.47, -56.54)
CIE-LCHlch(45.43, 63.30, 296.73°)
OKLaboklab(54.07% 0.02 -0.1617)
OKLCHoklch(54.07% 0.163 277)
XYZxyz(19.1754, 14.8499, 58.3442)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60CB #CBC55A
analogous
#5A99CB #5A60CB #8C5ACB
triadic
#5A60CB #CB5A60 #60CB5A
tetradic
#5A60CB #CB5A99 #CBC55A #5ACB8C
square
#5A60CB #CB5A99 #CBC55A #5ACB8C
split-complementary
#5A60CB #CB8C5A #99CB5A
monochromatic
#292E82 #383EB0 #5A60CB #898DDA #B7BAE8

Accessibility & contrast

On white

5.29
#5A60CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5A60CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60CB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60CB#FFFFFF#000000##FFFFFF
##5A60CB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#0767C9
Tritanopia (blue-blind)
#1D788C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a60cb;
/* rgb */ color: rgb(90, 96, 203);
/* oklch */ color: oklch(54.1% 0.163 277.0);
Tailwind
colors: {
  custom: {
    50: '#928ddb',
    500: '#5a60cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a60cb;
$custom-light: #928ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60cb",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 236.814,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.16296,
    "h": 277
  },
  "luminance": 0.14851
}

Semantic roles & 50–950 ramp

primary
#5A60CB
secondary
#D7D5AA
accent
#D44CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A60CB

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

Preview Lab → · Contrast checker → · Palette generator →

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