#5A60F6#5A60F6

#5A60F6 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.3% C 0.220 H 275.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5A60F6
RGBrgb(90, 96, 246)
HSLhsl(238, 90%, 66%)
HSVhsv(238, 63%, 96%)
CMYKcmyk(63.4%, 61%, 0%, 3.5%)
CIE-LABlab(48.50, 42.46, -75.91)
CIE-LCHlch(48.50, 86.98, 299.22°)
OKLaboklab(57.32% 0.0202 -0.2187)
OKLCHoklch(57.32% 0.22 275.3)
XYZxyz(25.0284, 17.1911, 89.1702)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60F6 #F6F05A
analogous
#5AAEF6 #5A60F6 #A25AF6
triadic
#5A60F6 #F65A60 #60F65A
tetradic
#5A60F6 #F65AAE #F6F05A #5AF6A2
square
#5A60F6 #F65AAE #F6F05A #5AF6A2
split-complementary
#5A60F6 #F6A25A #AEF65A
monochromatic
#0B12CB #2028F3 #5A60F6 #9498F9 #CED0FC

Accessibility & contrast

On white

4.73
#5A60F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5A60F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60F6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60F6#FFFFFF#000000##FFFFFF
##5A60F61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#006CF3
Tritanopia (blue-blind)
#0086A2
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a60f6;
/* rgb */ color: rgb(90, 96, 246);
/* oklch */ color: oklch(57.3% 0.220 275.3);
Tailwind
colors: {
  custom: {
    50: '#998dfa',
    500: '#5a60f6',
    950: '#000000',
  },
}
SCSS
$custom: #5a60f6;
$custom-light: #998dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60f6",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 237.692,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.21964,
    "h": 275.3
  },
  "luminance": 0.17193
}

Semantic roles & 50–950 ramp

primary
#5A60F6
secondary
#F0EEBC
accent
#DD00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A60F6

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

Preview Lab → · Contrast checker → · Palette generator →

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