#5A74E5#5A74E5

#5A74E5 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.173 H 270.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5A74E5
RGBrgb(90, 116, 229)
HSLhsl(229, 73%, 63%)
HSVhsv(229, 61%, 90%)
CMYKcmyk(60.7%, 49.3%, 0%, 10.2%)
CIE-LABlab(52.20, 24.69, -60.40)
CIE-LCHlch(52.20, 65.26, 292.23°)
OKLaboklab(59.71% 0.0019 -0.1729)
OKLCHoklch(59.71% 0.173 270.6)
XYZxyz(24.6000, 20.3195, 76.7392)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74E5 #E5CB5A
analogous
#5AB9E5 #5A74E5 #855AE5
triadic
#5A74E5 #E55A74 #74E55A
tetradic
#5A74E5 #E55AB9 #E5CB5A #5AE585
square
#5A74E5 #E55AB9 #E5CB5A #5AE585
split-complementary
#5A74E5 #E5855A #B9E55A
monochromatic
#1B36AA #2547DD #5A74E5 #8FA1ED #C4CDF6

Accessibility & contrast

On white

4.15
#5A74E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5A74E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74E5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74E5#FFFFFF#000000##000000
##5A74E51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E9
Deuteranopia (green-blind)
#1877E3
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a74e5;
/* rgb */ color: rgb(90, 116, 229);
/* oklch */ color: oklch(59.7% 0.173 270.6);
Tailwind
colors: {
  custom: {
    50: '#959bee',
    500: '#5a74e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a74e5;
$custom-light: #959bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74e5",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 228.777,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.17291,
    "h": 270.6
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#5A74E5
secondary
#E7DDB4
accent
#B011D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A74E5

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

Preview Lab → · Contrast checker → · Palette generator →

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