#4C71AE#4C71AE

#4C71AE is a mid, moderate blue. Relative luminance 0.164; OKLCH L 54.9% C 0.105 H 260.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4C71AE
RGBrgb(76, 113, 174)
HSLhsl(217, 39%, 49%)
HSVhsv(217, 56%, 68%)
CMYKcmyk(56.3%, 35.1%, 0%, 31.8%)
CIE-LABlab(47.50, 5.36, -36.49)
CIE-LCHlch(47.50, 36.88, 278.36°)
OKLaboklab(54.89% -0.0182 -0.1031)
OKLCHoklch(54.89% 0.105 260)
XYZxyz(16.5230, 16.4014, 42.3313)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71AE #AE894C
analogous
#4CA2AE #4C71AE #584CAE
triadic
#4C71AE #AE4C71 #71AE4C
tetradic
#4C71AE #AE4CA2 #AE894C #4CAE58
square
#4C71AE #AE4CA2 #AE894C #4CAE58
split-complementary
#4C71AE #AE584C #A2AE4C
monochromatic
#273A59 #395583 #4C71AE #7592C3 #9FB4D5

Accessibility & contrast

On white

4.91
#4C71AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4C71AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71AE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71AE#FFFFFF#000000##FFFFFF
##4C71AE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B1
Deuteranopia (green-blind)
#4C6CAD
Tritanopia (blue-blind)
#087F87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c71ae;
/* rgb */ color: rgb(76, 113, 174);
/* oklch */ color: oklch(54.9% 0.105 260.0);
Tailwind
colors: {
  custom: {
    50: '#8599c6',
    500: '#4c71ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c71ae;
$custom-light: #8599c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71ae",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 217.347,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.1047,
    "h": 260
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#4C71AE
secondary
#C2B194
accent
#A259CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4C71AE

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

Preview Lab → · Contrast checker → · Palette generator →

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