#5A74AC#5A74AC

#5A74AC is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.3% C 0.093 H 264.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5A74AC
RGBrgb(90, 116, 172)
HSLhsl(221, 33%, 51%)
HSVhsv(221, 48%, 67%)
CMYKcmyk(47.7%, 32.6%, 0%, 32.5%)
CIE-LABlab(49.06, 6.20, -32.82)
CIE-LCHlch(49.06, 33.40, 280.70°)
OKLaboklab(56.29% -0.0087 -0.0922)
OKLCHoklch(56.29% 0.093 264.6)
XYZxyz(17.9058, 17.6419, 41.4834)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74AC #AC925A
analogous
#5A9DAC #5A74AC #695AAC
triadic
#5A74AC #AC5A74 #74AC5A
tetradic
#5A74AC #AC5A9D #AC925A #5AAC69
square
#5A74AC #AC5A9D #AC925A #5AAC69
split-complementary
#5A74AC #AC695A #9DAC5A
monochromatic
#2F3D5D #435886 #5A74AC #8396C0 #ABB9D5

Accessibility & contrast

On white

4.64
#5A74AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5A74AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A74AC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74AC#FFFFFF#000000##FFFFFF
##5A74AC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F79AE
Deuteranopia (green-blind)
#5671AB
Tritanopia (blue-blind)
#398088
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a74ac;
/* rgb */ color: rgb(90, 116, 172);
/* oklch */ color: oklch(56.3% 0.093 264.6);
Tailwind
colors: {
  custom: {
    50: '#8d9bc5',
    500: '#5a74ac',
    950: '#000000',
  },
}
SCSS
$custom: #5a74ac;
$custom-light: #8d9bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74ac",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 172
  },
  "hsl": {
    "h": 220.976,
    "s": 33.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.09257,
    "h": 264.6
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#5A74AC
secondary
#C3B89F
accent
#A75FC9
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #5A74AC

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

Preview Lab → · Contrast checker → · Palette generator →

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