#5A74B3#5A74B3

#5A74B3 is a mid, moderate blue. Relative luminance 0.179; OKLCH L 56.7% C 0.103 H 266.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5A74B3
RGBrgb(90, 116, 179)
HSLhsl(222, 37%, 53%)
HSVhsv(222, 50%, 70%)
CMYKcmyk(49.7%, 35.2%, 0%, 29.8%)
CIE-LABlab(49.40, 8.39, -36.35)
CIE-LCHlch(49.40, 37.31, 282.99°)
OKLaboklab(56.66% -0.0068 -0.1024)
OKLCHoklch(56.66% 0.103 266.2)
XYZxyz(18.5959, 17.9179, 45.1177)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74B3 #B3995A
analogous
#5AA0B3 #5A74B3 #6D5AB3
triadic
#5A74B3 #B35A74 #74B35A
tetradic
#5A74B3 #B35AA0 #B3995A #5AB36D
square
#5A74B3 #B35AA0 #B3995A #5AB36D
split-complementary
#5A74B3 #B36D5A #A0B35A
monochromatic
#2E3E64 #42588E #5A74B3 #8497C6 #AEBBDA

Accessibility & contrast

On white

4.58
#5A74B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #5A74B3
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74B3#FFFFFF#000000##000000
##5A74B31.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB6
Deuteranopia (green-blind)
#5272B2
Tritanopia (blue-blind)
#34818B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a74b3;
/* rgb */ color: rgb(90, 116, 179);
/* oklch */ color: oklch(56.7% 0.103 266.2);
Tailwind
colors: {
  custom: {
    50: '#8e9bca',
    500: '#5a74b3',
    950: '#000000',
  },
}
SCSS
$custom: #5a74b3;
$custom-light: #8e9bca;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74b3",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 179
  },
  "hsl": {
    "h": 222.472,
    "s": 36.929,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.10265,
    "h": 266.2
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#5A74B3
secondary
#C8BCA1
accent
#AC5BCD
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5A74B3

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

Preview Lab → · Contrast checker → · Palette generator →

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