#5A60F3#5A60F3

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

Color values

HEX#5A60F3
RGBrgb(90, 96, 243)
HSLhsl(238, 86%, 65%)
HSVhsv(238, 63%, 95%)
CMYKcmyk(63%, 60.5%, 0%, 4.7%)
CIE-LABlab(48.27, 41.49, -74.61)
CIE-LCHlch(48.27, 85.37, 299.08°)
OKLaboklab(57.08% 0.0203 -0.2149)
OKLCHoklch(57.08% 0.216 275.4)
XYZxyz(24.5717, 17.0084, 86.7647)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60F3 #F3ED5A
analogous
#5AACF3 #5A60F3 #A05AF3
triadic
#5A60F3 #F35A60 #60F35A
tetradic
#5A60F3 #F35AAC #F3ED5A #5AF3A0
square
#5A60F3 #F35AAC #F3ED5A #5AF3A0
split-complementary
#5A60F3 #F3A05A #ACF35A
monochromatic
#0E15C4 #2129EF #5A60F3 #9397F7 #CCCEFB

Accessibility & contrast

On white

4.77
#5A60F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5A60F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60F3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60F3#FFFFFF#000000##FFFFFF
##5A60F31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#006CF0
Tritanopia (blue-blind)
#0085A0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a60f3;
/* rgb */ color: rgb(90, 96, 243);
/* oklch */ color: oklch(57.1% 0.216 275.4);
Tailwind
colors: {
  custom: {
    50: '#988df8',
    500: '#5a60f3',
    950: '#000000',
  },
}
SCSS
$custom: #5a60f3;
$custom-light: #988df8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60f3",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 243
  },
  "hsl": {
    "h": 237.647,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.21584,
    "h": 275.4
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#5A60F3
secondary
#EEECBB
accent
#DA03E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A60F3

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

Preview Lab → · Contrast checker → · Palette generator →

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