#4C71BC#4C71BC

#4C71BC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.124 H 263.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4C71BC
RGBrgb(76, 113, 188)
HSLhsl(220, 46%, 52%)
HSVhsv(220, 60%, 74%)
CMYKcmyk(59.6%, 39.9%, 0%, 26.3%)
CIE-LABlab(48.23, 10.06, -43.45)
CIE-LCHlch(48.23, 44.60, 283.04°)
OKLaboklab(55.7% -0.0149 -0.1234)
OKLCHoklch(55.7% 0.124 263.1)
XYZxyz(17.9596, 16.9761, 49.8975)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71BC #BC974C
analogous
#4CA9BC #4C71BC #5F4CBC
triadic
#4C71BC #BC4C71 #71BC4C
tetradic
#4C71BC #BC4CA9 #BC974C #4CBC5F
square
#4C71BC #BC4CA9 #BC974C #4CBC5F
split-complementary
#4C71BC #BC5F4C #A9BC4C
monochromatic
#273C67 #375694 #4C71BC #7994CD #A5B8DD

Accessibility & contrast

On white

4.78
#4C71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4C71BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71BC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71BC#FFFFFF#000000##FFFFFF
##4C71BC1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c71bc;
/* rgb */ color: rgb(76, 113, 188);
/* oklch */ color: oklch(55.7% 0.124 263.1);
Tailwind
colors: {
  custom: {
    50: '#8799d0',
    500: '#4c71bc',
    950: '#000000',
  },
}
SCSS
$custom: #4c71bc;
$custom-light: #8799d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71bc",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 220.179,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55697,
    "c": 0.12434,
    "h": 263.1
  },
  "luminance": 0.16978
}

Semantic roles & 50–950 ramp

primary
#4C71BC
secondary
#CABA99
accent
#AA53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4C71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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