#4C71BE#4C71BE

#4C71BE is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.8% C 0.127 H 263.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4C71BE
RGBrgb(76, 113, 190)
HSLhsl(221, 47%, 52%)
HSVhsv(221, 60%, 75%)
CMYKcmyk(60%, 40.5%, 0%, 25.5%)
CIE-LABlab(48.34, 10.74, -44.43)
CIE-LCHlch(48.34, 45.71, 283.59°)
OKLaboklab(55.82% -0.0145 -0.1263)
OKLCHoklch(55.82% 0.127 263.5)
XYZxyz(18.1767, 17.0629, 51.0408)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71BE #BE994C
analogous
#4CAABE #4C71BE #604CBE
triadic
#4C71BE #BE4C71 #71BE4C
tetradic
#4C71BE #BE4CAA #BE994C #4CBE60
square
#4C71BE #BE4CAA #BE994C #4CBE60
split-complementary
#4C71BE #BE604C #AABE4C
monochromatic
#263C69 #375696 #4C71BE #7995CE #A6B8DF

Accessibility & contrast

On white

4.76
#4C71BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4C71BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71BE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71BE#FFFFFF#000000##FFFFFF
##4C71BE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078C1
Deuteranopia (green-blind)
#406EBC
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4c71be;
/* rgb */ color: rgb(76, 113, 190);
/* oklch */ color: oklch(55.8% 0.127 263.5);
Tailwind
colors: {
  custom: {
    50: '#8799d2',
    500: '#4c71be',
    950: '#000000',
  },
}
SCSS
$custom: #4c71be;
$custom-light: #8799d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71be",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 220.526,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55817,
    "c": 0.12714,
    "h": 263.5
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#4C71BE
secondary
#CCBC9A
accent
#AB51D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4C71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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