#4C71C8#4C71C8

#4C71C8 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.141 H 264.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4C71C8
RGBrgb(76, 113, 200)
HSLhsl(222, 53%, 54%)
HSVhsv(222, 62%, 78%)
CMYKcmyk(62%, 43.5%, 0%, 21.6%)
CIE-LABlab(48.90, 14.17, -49.28)
CIE-LCHlch(48.90, 51.28, 286.04°)
OKLaboklab(56.43% -0.0125 -0.1405)
OKLCHoklch(56.43% 0.141 264.9)
XYZxyz(19.3073, 17.5152, 56.9957)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71C8 #C8A34C
analogous
#4CAFC8 #4C71C8 #654CC8
triadic
#4C71C8 #C84C71 #71C84C
tetradic
#4C71C8 #C84CAF #C8A34C #4CC865
square
#4C71C8 #C84CAF #C8A34C #4CC865
split-complementary
#4C71C8 #C8654C #AFC84C
monochromatic
#243C75 #3254A4 #4C71C8 #7B96D6 #AABBE5

Accessibility & contrast

On white

4.66
#4C71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4C71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71C8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71C8#FFFFFF#000000##FFFFFF
##4C71C81.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#366FC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c71c8;
/* rgb */ color: rgb(76, 113, 200);
/* oklch */ color: oklch(56.4% 0.141 264.9);
Tailwind
colors: {
  custom: {
    50: '#8999d9',
    500: '#4c71c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c71c8;
$custom-light: #8999d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71c8",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 222.097,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56434,
    "c": 0.14109,
    "h": 264.9
  },
  "luminance": 0.17517
}

Semantic roles & 50–950 ramp

primary
#4C71C8
secondary
#D2C39E
accent
#B14BDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4C71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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