#4C71DB#4C71DB

#4C71DB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.167 H 266.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4C71DB
RGBrgb(76, 113, 219)
HSLhsl(224, 67%, 58%)
HSVhsv(224, 65%, 86%)
CMYKcmyk(65.3%, 48.4%, 0%, 14.1%)
CIE-LABlab(50.05, 20.75, -58.26)
CIE-LCHlch(50.05, 61.85, 289.60°)
OKLaboklab(57.68% -0.0097 -0.1669)
OKLCHoklch(57.68% 0.167 266.7)
XYZxyz(21.6674, 18.4592, 69.4252)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71DB #DBB64C
analogous
#4CB8DB #4C71DB #6F4CDB
triadic
#4C71DB #DB4C71 #71DB4C
tetradic
#4C71DB #DB4CB8 #DBB64C #4CDB6F
square
#4C71DB #DB4CB8 #DBB64C #4CDB6F
split-complementary
#4C71DB #DB6F4C #B8DB4C
monochromatic
#1D3B90 #274FC3 #4C71DB #7F99E5 #B2C2EF

Accessibility & contrast

On white

4.48
#4C71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4C71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71DB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71DB#FFFFFF#000000##000000
##4C71DB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#1471D9
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c71db;
/* rgb */ color: rgb(76, 113, 219);
/* oklch */ color: oklch(57.7% 0.167 266.7);
Tailwind
colors: {
  custom: {
    50: '#8c99e7',
    500: '#4c71db',
    950: '#000000',
  },
}
SCSS
$custom: #4c71db;
$custom-light: #8c99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71db",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 224.476,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5768,
    "c": 0.16721,
    "h": 266.7
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

primary
#4C71DB
secondary
#DECFA5
accent
#BD3EE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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