#5A74B2#5A74B2

#5A74B2 is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.6% C 0.101 H 266.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5A74B2
RGBrgb(90, 116, 178)
HSLhsl(222, 36%, 53%)
HSVhsv(222, 49%, 70%)
CMYKcmyk(49.4%, 34.8%, 0%, 30.2%)
CIE-LABlab(49.35, 8.07, -35.85)
CIE-LCHlch(49.35, 36.75, 282.69°)
OKLaboklab(56.6% -0.0071 -0.101)
OKLCHoklch(56.6% 0.101 266)
XYZxyz(18.4951, 17.8776, 44.5870)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74B2 #B2985A
analogous
#5AA0B2 #5A74B2 #6C5AB2
triadic
#5A74B2 #B25A74 #74B25A
tetradic
#5A74B2 #B25AA0 #B2985A #5AB26C
square
#5A74B2 #B25AA0 #B2985A #5AB26C
split-complementary
#5A74B2 #B26C5A #A0B25A
monochromatic
#2E3E63 #42588D #5A74B2 #8497C5 #ADBAD9

Accessibility & contrast

On white

4.59
#5A74B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5A74B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A74B2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74B2#FFFFFF#000000##FFFFFF
##5A74B21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB5
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#35818B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a74b2;
/* rgb */ color: rgb(90, 116, 178);
/* oklch */ color: oklch(56.6% 0.101 266.0);
Tailwind
colors: {
  custom: {
    50: '#8e9bc9',
    500: '#5a74b2',
    950: '#000000',
  },
}
SCSS
$custom: #5a74b2;
$custom-light: #8e9bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74b2",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 222.273,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.10121,
    "h": 266
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#5A74B2
secondary
#C7BCA1
accent
#AB5BCC
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0E13
muted
#7D7E82

Preview Lab

Preview with #5A74B2

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

Preview Lab → · Contrast checker → · Palette generator →

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