#4C71CC#4C71CC

#4C71CC is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.7% C 0.147 H 265.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4C71CC
RGBrgb(76, 113, 204)
HSLhsl(223, 56%, 55%)
HSVhsv(223, 63%, 80%)
CMYKcmyk(62.7%, 44.6%, 0%, 20%)
CIE-LABlab(49.14, 15.55, -51.20)
CIE-LCHlch(49.14, 53.51, 286.89°)
OKLaboklab(56.69% -0.0118 -0.1462)
OKLCHoklch(56.69% 0.147 265.4)
XYZxyz(19.7809, 17.7046, 59.4899)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71CC #CCA74C
analogous
#4CB1CC #4C71CC #674CCC
triadic
#4C71CC #CC4C71 #71CC4C
tetradic
#4C71CC #CC4CB1 #CCA74C #4CCC67
square
#4C71CC #CC4CB1 #CCA74C #4CCC67
split-complementary
#4C71CC #CC674C #B1CC4C
monochromatic
#233C7B #3154AA #4C71CC #7C97DA #ABBDE7

Accessibility & contrast

On white

4.62
#4C71CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4C71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71CC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71CC#FFFFFF#000000##FFFFFF
##4C71CC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c71cc;
/* rgb */ color: rgb(76, 113, 204);
/* oklch */ color: oklch(56.7% 0.147 265.4);
Tailwind
colors: {
  custom: {
    50: '#8a99dc',
    500: '#4c71cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c71cc;
$custom-light: #8a99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71cc",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 222.656,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.14664,
    "h": 265.4
  },
  "luminance": 0.17706
}

Semantic roles & 50–950 ramp

primary
#4C71CC
secondary
#D5C59F
accent
#B449DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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