#4A71DC#4A71DC

#4A71DC is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.169 H 266.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4A71DC
RGBrgb(74, 113, 220)
HSLhsl(224, 68%, 58%)
HSVhsv(224, 66%, 86%)
CMYKcmyk(66.4%, 48.6%, 0%, 13.7%)
CIE-LABlab(50.02, 20.78, -58.89)
CIE-LCHlch(50.02, 62.45, 289.43°)
OKLaboklab(57.65% -0.0113 -0.1688)
OKLCHoklch(57.65% 0.169 266.2)
XYZxyz(21.6430, 18.4313, 70.1133)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71DC #DCB54A
analogous
#4ABADC #4A71DC #6C4ADC
triadic
#4A71DC #DC4A71 #71DC4A
tetradic
#4A71DC #DC4ABA #DCB54A #4ADC6C
square
#4A71DC #DC4ABA #DCB54A #4ADC6C
split-complementary
#4A71DC #DC6C4A #BADC4A
monochromatic
#1C3B90 #2650C3 #4A71DC #7D99E6 #B1C1F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A71DC#FFFFFF#000000##000000
##4A71DC1.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)
#377EE0
Deuteranopia (green-blind)
#0D71DA
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a71dc;
/* rgb */ color: rgb(74, 113, 220);
/* oklch */ color: oklch(57.6% 0.169 266.2);
Tailwind
colors: {
  custom: {
    50: '#8c99e7',
    500: '#4a71dc',
    950: '#000000',
  },
}
SCSS
$custom: #4a71dc;
$custom-light: #8c99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71dc",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 223.973,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.16919,
    "h": 266.2
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#4A71DC
secondary
#DECFA4
accent
#BC3DEA
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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