#4C71D2#4C71D2

#4C71D2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.155 H 266.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4C71D2
RGBrgb(76, 113, 210)
HSLhsl(223, 60%, 56%)
HSVhsv(223, 64%, 82%)
CMYKcmyk(63.8%, 46.2%, 0%, 17.6%)
CIE-LABlab(49.49, 17.62, -54.05)
CIE-LCHlch(49.49, 56.85, 288.06°)
OKLaboklab(57.08% -0.0109 -0.1545)
OKLCHoklch(57.08% 0.155 266)
XYZxyz(20.5145, 17.9980, 63.3531)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71D2 #D2AD4C
analogous
#4CB4D2 #4C71D2 #6A4CD2
triadic
#4C71D2 #D24C71 #71D24C
tetradic
#4C71D2 #D24CB4 #D2AD4C #4CD26A
square
#4C71D2 #D24CB4 #D2AD4C #4CD26A
split-complementary
#4C71D2 #D26A4C #B4D24C
monochromatic
#213C83 #2D52B4 #4C71D2 #7D98DE #AEBFEB

Accessibility & contrast

On white

4.57
#4C71D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4C71D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71D2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71D2#FFFFFF#000000##000000
##4C71D21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#2970D0
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c71d2;
/* rgb */ color: rgb(76, 113, 210);
/* oklch */ color: oklch(57.1% 0.155 266.0);
Tailwind
colors: {
  custom: {
    50: '#8b99e0',
    500: '#4c71d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c71d2;
$custom-light: #8b99e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71d2",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 223.433,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57078,
    "c": 0.15491,
    "h": 266
  },
  "luminance": 0.18
}

Semantic roles & 50–950 ramp

primary
#4C71D2
secondary
#D9C9A1
accent
#B745E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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