#4C71BB#4C71BB

#4C71BB is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.123 H 262.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4C71BB
RGBrgb(76, 113, 187)
HSLhsl(220, 45%, 52%)
HSVhsv(220, 59%, 73%)
CMYKcmyk(59.4%, 39.6%, 0%, 26.7%)
CIE-LABlab(48.18, 9.72, -42.96)
CIE-LCHlch(48.18, 44.05, 282.75°)
OKLaboklab(55.64% -0.0151 -0.122)
OKLCHoklch(55.64% 0.123 262.9)
XYZxyz(17.8522, 16.9331, 49.3317)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71BB #BB964C
analogous
#4CA9BB #4C71BB #5F4CBB
triadic
#4C71BB #BB4C71 #71BB4C
tetradic
#4C71BB #BB4CA9 #BB964C #4CBB5F
square
#4C71BB #BB4CA9 #BB964C #4CBB5F
split-complementary
#4C71BB #BB5F4C #A9BB4C
monochromatic
#273C66 #385692 #4C71BB #7894CC #A5B7DD

Accessibility & contrast

On white

4.79
#4C71BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4C71BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71BB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71BB#FFFFFF#000000##FFFFFF
##4C71BB1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#436EB9
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4c71bb;
/* rgb */ color: rgb(76, 113, 187);
/* oklch */ color: oklch(55.6% 0.123 262.9);
Tailwind
colors: {
  custom: {
    50: '#8799d0',
    500: '#4c71bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c71bb;
$custom-light: #8799d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71bb",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 220,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.12293,
    "h": 262.9
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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