#4C71D6#4C71D6

#4C71D6 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.3% C 0.160 H 266.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4C71D6
RGBrgb(76, 113, 214)
HSLhsl(224, 63%, 57%)
HSVhsv(224, 64%, 84%)
CMYKcmyk(64.5%, 47.2%, 0%, 16.1%)
CIE-LABlab(49.74, 19.01, -55.93)
CIE-LCHlch(49.74, 59.07, 288.77°)
OKLaboklab(57.34% -0.0103 -0.1601)
OKLCHoklch(57.34% 0.16 266.3)
XYZxyz(21.0190, 18.1999, 66.0105)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71D6 #D6B14C
analogous
#4CB6D6 #4C71D6 #6C4CD6
triadic
#4C71D6 #D64C71 #71D64C
tetradic
#4C71D6 #D64CB6 #D6B14C #4CD66C
square
#4C71D6 #D64CB6 #D6B14C #4CD66C
split-complementary
#4C71D6 #D66C4C #B6D64C
monochromatic
#1F3B88 #2B51BA #4C71D6 #7E99E1 #B0C0ED

Accessibility & contrast

On white

4.53
#4C71D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4C71D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71D6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71D6#FFFFFF#000000##000000
##4C71D61.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDA
Deuteranopia (green-blind)
#2170D4
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c71d6;
/* rgb */ color: rgb(76, 113, 214);
/* oklch */ color: oklch(57.3% 0.160 266.3);
Tailwind
colors: {
  custom: {
    50: '#8b99e3',
    500: '#4c71d6',
    950: '#000000',
  },
}
SCSS
$custom: #4c71d6;
$custom-light: #8b99e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71d6",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 214
  },
  "hsl": {
    "h": 223.913,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.1604,
    "h": 266.3
  },
  "luminance": 0.18202
}

Semantic roles & 50–950 ramp

primary
#4C71D6
secondary
#DBCCA3
accent
#BA42E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #4C71D6

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

Preview Lab → · Contrast checker → · Palette generator →

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