#4C71C2#4C71C2

#4C71C2 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.133 H 264.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4C71C2
RGBrgb(76, 113, 194)
HSLhsl(221, 49%, 53%)
HSVhsv(221, 61%, 76%)
CMYKcmyk(60.8%, 41.8%, 0%, 23.9%)
CIE-LABlab(48.56, 12.11, -46.38)
CIE-LCHlch(48.56, 47.94, 284.63°)
OKLaboklab(56.06% -0.0137 -0.132)
OKLCHoklch(56.06% 0.133 264.1)
XYZxyz(18.6199, 17.2402, 53.3749)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71C2 #C29D4C
analogous
#4CACC2 #4C71C2 #624CC2
triadic
#4C71C2 #C24C71 #71C24C
tetradic
#4C71C2 #C24CAC #C29D4C #4CC262
square
#4C71C2 #C24CAC #C29D4C #4CC262
split-complementary
#4C71C2 #C2624C #ACC24C
monochromatic
#263C6E #35559C #4C71C2 #7A95D2 #A7B9E1

Accessibility & contrast

On white

4.72
#4C71C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4C71C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71C2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71C2#FFFFFF#000000##FFFFFF
##4C71C21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#3C6EC0
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c71c2;
/* rgb */ color: rgb(76, 113, 194);
/* oklch */ color: oklch(56.1% 0.133 264.1);
Tailwind
colors: {
  custom: {
    50: '#8899d5',
    500: '#4c71c2',
    950: '#000000',
  },
}
SCSS
$custom: #4c71c2;
$custom-light: #8899d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71c2",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 221.186,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.13273,
    "h": 264.1
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#4C71C2
secondary
#CEBE9B
accent
#AE4FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4C71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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