#5A74DA#5A74DA

#5A74DA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.0% C 0.158 H 270.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5A74DA
RGBrgb(90, 116, 218)
HSLhsl(228, 63%, 60%)
HSVhsv(228, 59%, 85%)
CMYKcmyk(58.7%, 46.8%, 0%, 14.5%)
CIE-LABlab(51.52, 21.03, -55.29)
CIE-LCHlch(51.52, 59.15, 290.83°)
OKLaboklab(58.98% 0.0006 -0.1578)
OKLCHoklch(58.98% 0.158 270.2)
XYZxyz(23.1125, 19.7246, 68.9053)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74DA #DAC05A
analogous
#5AB4DA #5A74DA #805ADA
triadic
#5A74DA #DA5A74 #74DA5A
tetradic
#5A74DA #DA5AB4 #DAC05A #5ADA80
square
#5A74DA #DA5AB4 #DAC05A #5ADA80
split-complementary
#5A74DA #DA805A #B4DA5A
monochromatic
#223A98 #2D4DCA #5A74DA #8C9EE5 #BEC8F0

Accessibility & contrast

On white

4.25
#5A74DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5A74DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74DA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74DA#FFFFFF#000000##000000
##5A74DA1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DE
Deuteranopia (green-blind)
#2F75D8
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a74da;
/* rgb */ color: rgb(90, 116, 218);
/* oklch */ color: oklch(59.0% 0.158 270.2);
Tailwind
colors: {
  custom: {
    50: '#939be6',
    500: '#5a74da',
    950: '#000000',
  },
}
SCSS
$custom: #5a74da;
$custom-light: #939be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74da",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 227.813,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.15785,
    "h": 270.2
  },
  "luminance": 0.19726
}

Semantic roles & 50–950 ramp

primary
#5A74DA
secondary
#E0D6AF
accent
#A71ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A74DA

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

Preview Lab → · Contrast checker → · Palette generator →

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