#5A60FA#5A60FA

#5A60FA is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.6% C 0.225 H 275.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5A60FA
RGBrgb(90, 96, 250)
HSLhsl(238, 94%, 67%)
HSVhsv(238, 64%, 98%)
CMYKcmyk(64%, 61.6%, 0%, 2%)
CIE-LABlab(48.81, 43.76, -77.64)
CIE-LCHlch(48.81, 89.12, 299.41°)
OKLaboklab(57.65% 0.02 -0.2238)
OKLCHoklch(57.65% 0.225 275.1)
XYZxyz(25.6490, 17.4393, 92.4384)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A60FA #FAF45A
analogous
#5AB0FA #5A60FA #A45AFA
triadic
#5A60FA #FA5A60 #60FA5A
tetradic
#5A60FA #FA5AB0 #FAF45A #5AFAA4
square
#5A60FA #FA5AB0 #FAF45A #5AFAA4
split-complementary
#5A60FA #FAA45A #B0FA5A
monochromatic
#060ED3 #1F27F8 #5A60FA #9599FC #D1D2FE

Accessibility & contrast

On white

4.68
#5A60FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5A60FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A60FA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A60FA#FFFFFF#000000##FFFFFF
##5A60FA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#006DF7
Tritanopia (blue-blind)
#0087A4
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a60fa;
/* rgb */ color: rgb(90, 96, 250);
/* oklch */ color: oklch(57.6% 0.225 275.1);
Tailwind
colors: {
  custom: {
    50: '#998dfd',
    500: '#5a60fa',
    950: '#000000',
  },
}
SCSS
$custom: #5a60fa;
$custom-light: #998dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a60fa",
  "rgb": {
    "r": 90,
    "g": 96,
    "b": 250
  },
  "hsl": {
    "h": 237.75,
    "s": 94.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.22466,
    "h": 275.1
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#5A60FA
secondary
#F2F0BE
accent
#DD00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C18
muted
#7F7D86

Preview Lab

Preview with #5A60FA

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

Preview Lab → · Contrast checker → · Palette generator →

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