#5A74FF#5A74FF

#5A74FF is a mid, highly saturated blue. Relative luminance 0.219; OKLCH L 61.5% C 0.207 H 271.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5A74FF
RGBrgb(90, 116, 255)
HSLhsl(231, 100%, 68%)
HSVhsv(231, 65%, 100%)
CMYKcmyk(64.7%, 54.5%, 0%, 0%)
CIE-LABlab(53.90, 33.38, -72.13)
CIE-LCHlch(53.90, 79.48, 294.84°)
OKLaboklab(61.54% 0.0038 -0.2074)
OKLCHoklch(61.54% 0.207 271)
XYZxyz(28.5057, 21.8819, 97.3097)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74FF #FFE55A
analogous
#5AC7FF #5A74FF #925AFF
triadic
#5A74FF #FF5A74 #74FF5A
tetradic
#5A74FF #FF5AC7 #FFE55A #5AFF92
square
#5A74FF #FF5AC7 #FFE55A #5AFF92
split-complementary
#5A74FF #FF925A #C7FF5A
monochromatic
#0023DF #1D40FF #5A74FF #97A8FF #D4DBFF

Accessibility & contrast

On white

3.91
#5A74FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5A74FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74FF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74FF#FFFFFF#000000##000000
##5A74FF1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#007AFC
Tritanopia (blue-blind)
#0095AE
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5a74ff;
/* rgb */ color: rgb(90, 116, 255);
/* oklch */ color: oklch(61.5% 0.207 271.0);
Tailwind
colors: {
  custom: {
    50: '#999bff',
    500: '#5a74ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a74ff;
$custom-light: #999bff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74ff",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 230.545,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61538,
    "c": 0.20742,
    "h": 271
  },
  "luminance": 0.21884
}

Semantic roles & 50–950 ramp

primary
#5A74FF
secondary
#F4ECC1
accent
#C100E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5A74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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