#4C71CD#4C71CD

#4C71CD is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.148 H 265.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4C71CD
RGBrgb(76, 113, 205)
HSLhsl(223, 56%, 55%)
HSVhsv(223, 63%, 80%)
CMYKcmyk(62.9%, 44.9%, 0%, 19.6%)
CIE-LABlab(49.19, 15.89, -51.68)
CIE-LCHlch(49.19, 54.06, 287.10°)
OKLaboklab(56.75% -0.0117 -0.1476)
OKLCHoklch(56.75% 0.148 265.5)
XYZxyz(19.9013, 17.7527, 60.1236)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71CD #CDA84C
analogous
#4CB1CD #4C71CD #684CCD
triadic
#4C71CD #CD4C71 #71CD4C
tetradic
#4C71CD #CD4CB1 #CDA84C #4CCD68
square
#4C71CD #CD4CB1 #CDA84C #4CCD68
split-complementary
#4C71CD #CD684C #B1CD4C
monochromatic
#233C7C #3054AC #4C71CD #7C97DA #ACBDE8

Accessibility & contrast

On white

4.61
#4C71CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4C71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C71CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71CD#FFFFFF#000000##FFFFFF
##4C71CD1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#306FCB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c71cd;
/* rgb */ color: rgb(76, 113, 205);
/* oklch */ color: oklch(56.8% 0.148 265.5);
Tailwind
colors: {
  custom: {
    50: '#8a99dd',
    500: '#4c71cd',
    950: '#000000',
  },
}
SCSS
$custom: #4c71cd;
$custom-light: #8a99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71cd",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 222.791,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.14802,
    "h": 265.5
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#4C71CD
secondary
#D5C69F
accent
#B448E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4C71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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