#4A71AB#4A71AB

#4A71AB is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.6% C 0.101 H 258.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A71AB
RGBrgb(74, 113, 171)
HSLhsl(216, 40%, 48%)
HSVhsv(216, 57%, 67%)
CMYKcmyk(56.7%, 33.9%, 0%, 32.9%)
CIE-LABlab(47.24, 3.92, -35.15)
CIE-LCHlch(47.24, 35.37, 276.37°)
OKLaboklab(54.61% -0.0209 -0.0992)
OKLCHoklch(54.61% 0.101 258.1)
XYZxyz(16.0773, 16.2051, 40.8008)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71AB #AB844A
analogous
#4AA1AB #4A71AB #534AAB
triadic
#4A71AB #AB4A71 #71AB4A
tetradic
#4A71AB #AB4AA1 #AB844A #4AAB53
square
#4A71AB #AB4AA1 #AB844A #4AAB53
split-complementary
#4A71AB #AB534A #A1AB4A
monochromatic
#253956 #385580 #4A71AB #7191C1 #9BB2D4

Accessibility & contrast

On white

4.95
#4A71AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4A71AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71AB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71AB#FFFFFF#000000##FFFFFF
##4A71AB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5975AD
Deuteranopia (green-blind)
#4D6CAA
Tritanopia (blue-blind)
#027E86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4a71ab;
/* rgb */ color: rgb(74, 113, 171);
/* oklch */ color: oklch(54.6% 0.101 258.1);
Tailwind
colors: {
  custom: {
    50: '#8499c4',
    500: '#4a71ab',
    950: '#000000',
  },
}
SCSS
$custom: #4a71ab;
$custom-light: #8499c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71ab",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 215.876,
    "s": 39.592,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.10139,
    "h": 258.1
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#4A71AB
secondary
#C0AD90
accent
#A058CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4A71AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4A71AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva