#5A60CA#5A60CA

#5A60CA is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.0% C 0.162 H 277.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5A60CA
RGBrgb(90, 96, 202)
HSLhsl(237, 51%, 57%)
HSVhsv(237, 55%, 79%)
CMYKcmyk(55.4%, 52.5%, 0%, 20.8%)
CIE-LABlab(45.36, 28.15, -56.07)
CIE-LCHlch(45.36, 62.74, 296.66°)
OKLaboklab(54% 0.0199 -0.1603)
OKLCHoklch(54% 0.162 277.1)
XYZxyz(19.0566, 14.8024, 57.7186)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60CA #CAC45A
analogous
#5A98CA #5A60CA #8C5ACA
triadic
#5A60CA #CA5A60 #60CA5A
tetradic
#5A60CA #CA5A98 #CAC45A #5ACA8C
square
#5A60CA #CA5A98 #CAC45A #5ACA8C
split-complementary
#5A60CA #CA8C5A #98CA5A
monochromatic
#292E80 #383EAF #5A60CA #888DD9 #B7B9E8

Accessibility & contrast

On white

5.30
#5A60CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5A60CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60CA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60CA#FFFFFF#000000##FFFFFF
##5A60CA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#0C67C8
Tritanopia (blue-blind)
#1F788C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a60ca;
/* rgb */ color: rgb(90, 96, 202);
/* oklch */ color: oklch(54.0% 0.162 277.1);
Tailwind
colors: {
  custom: {
    50: '#918ddb',
    500: '#5a60ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a60ca;
$custom-light: #918ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60ca",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 236.786,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.16158,
    "h": 277.1
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#5A60CA
secondary
#D7D4A9
accent
#D34DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5A60CA

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

Preview Lab → · Contrast checker → · Palette generator →

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