#4C71E6#4C71E6

#4C71E6 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.182 H 267.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4C71E6
RGBrgb(76, 113, 230)
HSLhsl(226, 75%, 60%)
HSVhsv(226, 67%, 90%)
CMYKcmyk(67%, 50.9%, 0%, 9.8%)
CIE-LABlab(50.75, 24.58, -63.33)
CIE-LCHlch(50.75, 67.93, 291.21°)
OKLaboklab(58.44% -0.0085 -0.1818)
OKLCHoklch(58.44% 0.182 267.3)
XYZxyz(23.1636, 19.0577, 77.3053)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71E6 #E6C14C
analogous
#4CBEE6 #4C71E6 #744CE6
triadic
#4C71E6 #E64C71 #71E64C
tetradic
#4C71E6 #E64CBE #E6C14C #4CE674
square
#4C71E6 #E64CBE #E6C14C #4CE674
split-complementary
#4C71E6 #E6744C #BEE64C
monochromatic
#1738A1 #1E4AD7 #4C71E6 #829CED #B7C6F5

Accessibility & contrast

On white

4.36
#4C71E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4C71E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71E6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71E6#FFFFFF#000000##000000
##4C71E61.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80EA
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c71e6;
/* rgb */ color: rgb(76, 113, 230);
/* oklch */ color: oklch(58.4% 0.182 267.3);
Tailwind
colors: {
  custom: {
    50: '#8e99ef',
    500: '#4c71e6',
    950: '#000000',
  },
}
SCSS
$custom: #4c71e6;
$custom-light: #8e99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71e6",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 225.584,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.18203,
    "h": 267.3
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#4C71E6
secondary
#E5D6A9
accent
#C536F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4C71E6

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

Preview Lab → · Contrast checker → · Palette generator →

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