#4A71C7#4A71C7

#4A71C7 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.140 H 264.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4A71C7
RGBrgb(74, 113, 199)
HSLhsl(221, 53%, 54%)
HSVhsv(221, 63%, 78%)
CMYKcmyk(62.8%, 43.2%, 0%, 22%)
CIE-LABlab(48.75, 13.46, -48.97)
CIE-LCHlch(48.75, 50.78, 285.37°)
OKLaboklab(56.27% -0.0145 -0.1396)
OKLCHoklch(56.27% 0.14 264.1)
XYZxyz(19.0344, 17.3879, 56.3749)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71C7 #C7A04A
analogous
#4AAFC7 #4A71C7 #614AC7
triadic
#4A71C7 #C74A71 #71C74A
tetradic
#4A71C7 #C74AAF #C7A04A #4AC761
square
#4A71C7 #C74AAF #C7A04A #4AC761
split-complementary
#4A71C7 #C7614A #AFC74A
monochromatic
#243C73 #3255A2 #4A71C7 #7996D5 #A7BAE4

Accessibility & contrast

On white

4.69
#4A71C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4A71C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71C7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71C7#FFFFFF#000000##FFFFFF
##4A71C71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#366EC5
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a71c7;
/* rgb */ color: rgb(74, 113, 199);
/* oklch */ color: oklch(56.3% 0.140 264.1);
Tailwind
colors: {
  custom: {
    50: '#8899d8',
    500: '#4a71c7',
    950: '#000000',
  },
}
SCSS
$custom: #4a71c7;
$custom-light: #8899d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71c7",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 221.28,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.14039,
    "h": 264.1
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

primary
#4A71C7
secondary
#D1C09C
accent
#AF4CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4A71C7

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

Preview Lab → · Contrast checker → · Palette generator →

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