#4C71DF#4C71DF

#4C71DF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.0% C 0.173 H 266.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4C71DF
RGBrgb(76, 113, 223)
HSLhsl(225, 70%, 59%)
HSVhsv(225, 66%, 87%)
CMYKcmyk(65.9%, 49.3%, 0%, 12.5%)
CIE-LABlab(50.30, 22.14, -60.12)
CIE-LCHlch(50.30, 64.06, 290.22°)
OKLaboklab(57.95% -0.0092 -0.1724)
OKLCHoklch(57.95% 0.173 266.9)
XYZxyz(22.2003, 18.6724, 72.2319)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71DF #DFBA4C
analogous
#4CBADF #4C71DF #704CDF
triadic
#4C71DF #DF4C71 #71DF4C
tetradic
#4C71DF #DF4CBA #DFBA4C #4CDF70
square
#4C71DF #DF4CBA #DFBA4C #4CDF70
split-complementary
#4C71DF #DF704C #BADF4C
monochromatic
#1B3A96 #244ECA #4C71DF #809AE8 #B4C3F2

Accessibility & contrast

On white

4.44
#4C71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4C71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71DF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71DF#FFFFFF#000000##000000
##4C71DF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#0171DD
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c71df;
/* rgb */ color: rgb(76, 113, 223);
/* oklch */ color: oklch(58.0% 0.173 266.9);
Tailwind
colors: {
  custom: {
    50: '#8d99ea',
    500: '#4c71df',
    950: '#000000',
  },
}
SCSS
$custom: #4c71df;
$custom-light: #8d99ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71df",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 224.898,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57954,
    "c": 0.17263,
    "h": 266.9
  },
  "luminance": 0.18674
}

Semantic roles & 50–950 ramp

primary
#4C71DF
secondary
#E0D2A6
accent
#C03BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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