#4C71CF#4C71CF

#4C71CF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.9% C 0.151 H 265.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4C71CF
RGBrgb(76, 113, 207)
HSLhsl(223, 58%, 55%)
HSVhsv(223, 63%, 81%)
CMYKcmyk(63.3%, 45.4%, 0%, 18.8%)
CIE-LABlab(49.31, 16.58, -52.63)
CIE-LCHlch(49.31, 55.18, 287.49°)
OKLaboklab(56.88% -0.0114 -0.1504)
OKLCHoklch(56.88% 0.151 265.7)
XYZxyz(20.1442, 17.8499, 61.4032)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71CF #CFAA4C
analogous
#4CB3CF #4C71CF #684CCF
triadic
#4C71CF #CF4C71 #71CF4C
tetradic
#4C71CF #CF4CB3 #CFAA4C #4CCF68
square
#4C71CF #CF4CB3 #CFAA4C #4CCF68
split-complementary
#4C71CF #CF684C #B3CF4C
monochromatic
#223C7F #2F53AF #4C71CF #7C97DC #ADBEE9

Accessibility & contrast

On white

4.59
#4C71CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4C71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71CF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71CF#FFFFFF#000000##FFFFFF
##4C71CF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#2D70CD
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c71cf;
/* rgb */ color: rgb(76, 113, 207);
/* oklch */ color: oklch(56.9% 0.151 265.7);
Tailwind
colors: {
  custom: {
    50: '#8a99de',
    500: '#4c71cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c71cf;
$custom-light: #8a99de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71cf",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 223.053,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.15079,
    "h": 265.7
  },
  "luminance": 0.17852
}

Semantic roles & 50–950 ramp

primary
#4C71CF
secondary
#D7C7A0
accent
#B547E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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