#4C71AB#4C71AB

#4C71AB is a mid, moderate blue. Relative luminance 0.163; OKLCH L 54.7% C 0.101 H 259.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4C71AB
RGBrgb(76, 113, 171)
HSLhsl(217, 38%, 48%)
HSVhsv(217, 56%, 67%)
CMYKcmyk(55.6%, 33.9%, 0%, 32.9%)
CIE-LABlab(47.35, 4.37, -34.98)
CIE-LCHlch(47.35, 35.25, 277.12°)
OKLaboklab(54.72% -0.019 -0.0987)
OKLCHoklch(54.72% 0.101 259.1)
XYZxyz(16.2338, 16.2857, 40.8082)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71AB #AB864C
analogous
#4CA0AB #4C71AB #564CAB
triadic
#4C71AB #AB4C71 #71AB4C
tetradic
#4C71AB #AB4CA0 #AB864C #4CAB56
square
#4C71AB #AB4CA0 #AB864C #4CAB56
split-complementary
#4C71AB #AB564C #A0AB4C
monochromatic
#263956 #395581 #4C71AB #7392C1 #9EB3D4

Accessibility & contrast

On white

4.93
#4C71AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4C71AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71AB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71AB#FFFFFF#000000##FFFFFF
##4C71AB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#4E6CAA
Tritanopia (blue-blind)
#107E86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4c71ab;
/* rgb */ color: rgb(76, 113, 171);
/* oklch */ color: oklch(54.7% 0.101 259.1);
Tailwind
colors: {
  custom: {
    50: '#8599c4',
    500: '#4c71ab',
    950: '#000000',
  },
}
SCSS
$custom: #4c71ab;
$custom-light: #8599c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71ab",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 216.632,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.10051,
    "h": 259.1
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#4C71AB
secondary
#C0AE92
accent
#A159CE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4C71AB

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

Preview Lab → · Contrast checker → · Palette generator →

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