#4C71E8#4C71E8

#4C71E8 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.6% C 0.185 H 267.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4C71E8
RGBrgb(76, 113, 232)
HSLhsl(226, 77%, 60%)
HSVhsv(226, 67%, 91%)
CMYKcmyk(67.2%, 51.3%, 0%, 9%)
CIE-LABlab(50.89, 25.28, -64.24)
CIE-LCHlch(50.89, 69.03, 291.48°)
OKLaboklab(58.58% -0.0083 -0.1845)
OKLCHoklch(58.58% 0.185 267.4)
XYZxyz(23.4461, 19.1707, 78.7930)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71E8 #E8C34C
analogous
#4CBFE8 #4C71E8 #754CE8
triadic
#4C71E8 #E84C71 #71E84C
tetradic
#4C71E8 #E84CBF #E8C34C #4CE875
square
#4C71E8 #E84CBF #E8C34C #4CE875
split-complementary
#4C71E8 #E8754C #BFE84C
monochromatic
#1537A4 #1C49DB #4C71E8 #829CEF #B8C7F6

Accessibility & contrast

On white

4.34
#4C71E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4C71E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71E8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71E8#FFFFFF#000000##000000
##4C71E81.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2681EC
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4c71e8;
/* rgb */ color: rgb(76, 113, 232);
/* oklch */ color: oklch(58.6% 0.185 267.4);
Tailwind
colors: {
  custom: {
    50: '#8f99f0',
    500: '#4c71e8',
    950: '#000000',
  },
}
SCSS
$custom: #4c71e8;
$custom-light: #8f99f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71e8",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 225.769,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58584,
    "c": 0.1847,
    "h": 267.4
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#4C71E8
secondary
#E6D8AA
accent
#A90CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4C71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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