#5A60DF#5A60DF

#5A60DF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.5% C 0.190 H 276.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5A60DF
RGBrgb(90, 96, 223)
HSLhsl(237, 68%, 61%)
HSVhsv(237, 60%, 87%)
CMYKcmyk(59.6%, 57%, 0%, 12.5%)
CIE-LABlab(46.80, 34.98, -65.74)
CIE-LCHlch(46.80, 74.47, 298.02°)
OKLaboklab(55.53% 0.0207 -0.1888)
OKLCHoklch(55.53% 0.19 276.2)
XYZxyz(21.7143, 15.8655, 71.7158)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60DF #DFD95A
analogous
#5AA3DF #5A60DF #975ADF
triadic
#5A60DF #DF5A60 #60DF5A
tetradic
#5A60DF #DF5AA3 #DFD95A #5ADF97
square
#5A60DF #DF5AA3 #DFD95A #5ADF97
split-complementary
#5A60DF #DF975A #A3DF5A
monochromatic
#1F25A0 #2931D3 #5A60DF #8D91E9 #C1C3F3

Accessibility & contrast

On white

5.03
#5A60DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5A60DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60DF#FFFFFF#000000##FFFFFF
##5A60DF1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a60df;
/* rgb */ color: rgb(90, 96, 223);
/* oklch */ color: oklch(55.5% 0.190 276.2);
Tailwind
colors: {
  custom: {
    50: '#958dea',
    500: '#5a60df',
    950: '#000000',
  },
}
SCSS
$custom: #5a60df;
$custom-light: #958dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60df",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 237.293,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.18994,
    "h": 276.2
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#5A60DF
secondary
#E3E1B2
accent
#C716CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5A60DF

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

Preview Lab → · Contrast checker → · Palette generator →

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