#5A60DB#5A60DB

#5A60DB is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.2% C 0.185 H 276.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5A60DB
RGBrgb(90, 96, 219)
HSLhsl(237, 64%, 61%)
HSVhsv(237, 59%, 86%)
CMYKcmyk(58.9%, 56.2%, 0%, 14.1%)
CIE-LABlab(46.52, 33.68, -63.93)
CIE-LCHlch(46.52, 72.26, 297.78°)
OKLaboklab(55.23% 0.0206 -0.1835)
OKLCHoklch(55.23% 0.185 276.4)
XYZxyz(21.1814, 15.6523, 68.9091)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60DB #DBD55A
analogous
#5AA1DB #5A60DB #945ADB
triadic
#5A60DB #DB5A60 #60DB5A
tetradic
#5A60DB #DB5AA1 #DBD55A #5ADB94
square
#5A60DB #DB5AA1 #DBD55A #5ADB94
split-complementary
#5A60DB #DB945A #A1DB5A
monochromatic
#212799 #2C34CB #5A60DB #8C90E6 #BEC1F1

Accessibility & contrast

On white

5.08
#5A60DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5A60DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60DB#FFFFFF#000000##FFFFFF
##5A60DB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a60db;
/* rgb */ color: rgb(90, 96, 219);
/* oklch */ color: oklch(55.2% 0.185 276.4);
Tailwind
colors: {
  custom: {
    50: '#948de7',
    500: '#5a60db',
    950: '#000000',
  },
}
SCSS
$custom: #5a60db;
$custom-light: #948de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60db",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 237.209,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55231,
    "c": 0.18463,
    "h": 276.4
  },
  "luminance": 0.15654
}

Semantic roles & 50–950 ramp

primary
#5A60DB
secondary
#E1DFB0
accent
#C41ACC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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