#4C71AF#4C71AF

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

Color values

HEX#4C71AF
RGBrgb(76, 113, 175)
HSLhsl(218, 39%, 49%)
HSVhsv(218, 57%, 69%)
CMYKcmyk(56.6%, 35.4%, 0%, 31.4%)
CIE-LABlab(47.55, 5.69, -37.00)
CIE-LCHlch(47.55, 37.43, 278.75°)
OKLaboklab(54.95% -0.018 -0.1046)
OKLCHoklch(54.95% 0.106 260.2)
XYZxyz(16.6208, 16.4406, 42.8466)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71AF #AF8A4C
analogous
#4CA3AF #4C71AF #594CAF
triadic
#4C71AF #AF4C71 #71AF4C
tetradic
#4C71AF #AF4CA3 #AF8A4C #4CAF59
square
#4C71AF #AF4CA3 #AF8A4C #4CAF59
split-complementary
#4C71AF #AF594C #A3AF4C
monochromatic
#273A5A #395584 #4C71AF #7592C3 #A0B4D6

Accessibility & contrast

On white

4.90
#4C71AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4C71AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71AF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71AF#FFFFFF#000000##FFFFFF
##4C71AF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#4B6DAE
Tritanopia (blue-blind)
#057F88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c71af;
/* rgb */ color: rgb(76, 113, 175);
/* oklch */ color: oklch(54.9% 0.106 260.2);
Tailwind
colors: {
  custom: {
    50: '#8599c7',
    500: '#4c71af',
    950: '#000000',
  },
}
SCSS
$custom: #4c71af;
$custom-light: #8599c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71af",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 217.576,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.1061,
    "h": 260.2
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C71AF

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

Preview Lab → · Contrast checker → · Palette generator →

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