#4C71BF#4C71BF

#4C71BF is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.129 H 263.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4C71BF
RGBrgb(76, 113, 191)
HSLhsl(221, 47%, 52%)
HSVhsv(221, 60%, 75%)
CMYKcmyk(60.2%, 40.8%, 0%, 25.1%)
CIE-LABlab(48.39, 11.08, -44.92)
CIE-LCHlch(48.39, 46.27, 283.86°)
OKLaboklab(55.88% -0.0143 -0.1277)
OKLCHoklch(55.88% 0.129 263.6)
XYZxyz(18.2863, 17.1068, 51.6184)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71BF #BF9A4C
analogous
#4CAABF #4C71BF #614CBF
triadic
#4C71BF #BF4C71 #71BF4C
tetradic
#4C71BF #BF4CAA #BF9A4C #4CBF61
square
#4C71BF #BF4CAA #BF9A4C #4CBF61
split-complementary
#4C71BF #BF614C #AABF4C
monochromatic
#263C6B #365698 #4C71BF #7995CF #A6B9DF

Accessibility & contrast

On white

4.75
#4C71BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4C71BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71BF#FFFFFF#000000##FFFFFF
##4C71BF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c71bf;
/* rgb */ color: rgb(76, 113, 191);
/* oklch */ color: oklch(55.9% 0.129 263.6);
Tailwind
colors: {
  custom: {
    50: '#8899d3',
    500: '#4c71bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c71bf;
$custom-light: #8899d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71bf",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 220.696,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55877,
    "c": 0.12853,
    "h": 263.6
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#4C71BF
secondary
#CCBC9A
accent
#AC51D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4C71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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