#4C71DD#4C71DD

#4C71DD is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.170 H 266.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4C71DD
RGBrgb(76, 113, 221)
HSLhsl(225, 68%, 58%)
HSVhsv(225, 66%, 87%)
CMYKcmyk(65.6%, 48.9%, 0%, 13.3%)
CIE-LABlab(50.17, 21.45, -59.19)
CIE-LCHlch(50.17, 62.96, 289.92°)
OKLaboklab(57.82% -0.0094 -0.1697)
OKLCHoklch(57.82% 0.17 266.8)
XYZxyz(21.9323, 18.5651, 70.8202)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71DD #DDB84C
analogous
#4CB9DD #4C71DD #6F4CDD
triadic
#4C71DD #DD4C71 #71DD4C
tetradic
#4C71DD #DD4CB9 #DDB84C #4CDD6F
square
#4C71DD #DD4CB9 #DDB84C #4CDD6F
split-complementary
#4C71DD #DD6F4C #B9DD4C
monochromatic
#1C3A93 #264FC6 #4C71DD #7F9AE7 #B3C3F1

Accessibility & contrast

On white

4.46
#4C71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4C71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71DD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71DD#FFFFFF#000000##000000
##4C71DD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE1
Deuteranopia (green-blind)
#0C71DB
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c71dd;
/* rgb */ color: rgb(76, 113, 221);
/* oklch */ color: oklch(57.8% 0.170 266.8);
Tailwind
colors: {
  custom: {
    50: '#8d99e8',
    500: '#4c71dd',
    950: '#000000',
  },
}
SCSS
$custom: #4c71dd;
$custom-light: #8d99e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71dd",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 224.69,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.16992,
    "h": 266.8
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

primary
#4C71DD
secondary
#DFD1A6
accent
#BF3DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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