#5A60F2#5A60F2

#5A60F2 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.0% C 0.215 H 275.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5A60F2
RGBrgb(90, 96, 242)
HSLhsl(238, 85%, 65%)
HSVhsv(238, 63%, 95%)
CMYKcmyk(62.8%, 60.3%, 0%, 5.1%)
CIE-LABlab(48.19, 41.17, -74.17)
CIE-LCHlch(48.19, 84.83, 299.03°)
OKLaboklab(57% 0.0203 -0.2136)
OKLCHoklch(57% 0.215 275.4)
XYZxyz(24.4211, 16.9482, 85.9716)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60F2 #F2EC5A
analogous
#5AACF2 #5A60F2 #A05AF2
triadic
#5A60F2 #F25A60 #60F25A
tetradic
#5A60F2 #F25AAC #F2EC5A #5AF2A0
square
#5A60F2 #F25AAC #F2EC5A #5AF2A0
split-complementary
#5A60F2 #F2A05A #ACF25A
monochromatic
#0F16C2 #2129EE #5A60F2 #9397F6 #CBCDFB

Accessibility & contrast

On white

4.78
#5A60F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#5A60F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60F2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60F2#FFFFFF#000000##FFFFFF
##5A60F21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5a60f2;
/* rgb */ color: rgb(90, 96, 242);
/* oklch */ color: oklch(57.0% 0.215 275.4);
Tailwind
colors: {
  custom: {
    50: '#988df7',
    500: '#5a60f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a60f2;
$custom-light: #988df7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60f2",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 237.632,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.21457,
    "h": 275.4
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#5A60F2
secondary
#EEECBA
accent
#D904E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A60F2

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

Preview Lab → · Contrast checker → · Palette generator →

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