#4A71C5#4A71C5

#4A71C5 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.1% C 0.138 H 263.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4A71C5
RGBrgb(74, 113, 197)
HSLhsl(221, 51%, 53%)
HSVhsv(221, 62%, 77%)
CMYKcmyk(62.4%, 42.6%, 0%, 22.7%)
CIE-LABlab(48.63, 12.76, -48.00)
CIE-LCHlch(48.63, 49.67, 284.89°)
OKLaboklab(56.14% -0.0149 -0.1368)
OKLCHoklch(56.14% 0.138 263.8)
XYZxyz(18.8037, 17.2956, 55.1600)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71C5 #C59E4A
analogous
#4AAEC5 #4A71C5 #614AC5
triadic
#4A71C5 #C54A71 #71C54A
tetradic
#4A71C5 #C54AAE #C59E4A #4AC561
square
#4A71C5 #C54AAE #C59E4A #4AC561
split-complementary
#4A71C5 #C5614A #AEC54A
monochromatic
#243C71 #33559F #4A71C5 #7895D4 #A7BAE3

Accessibility & contrast

On white

4.71
#4A71C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4A71C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71C5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71C5#FFFFFF#000000##FFFFFF
##4A71C51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7AC8
Deuteranopia (green-blind)
#386EC3
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a71c5;
/* rgb */ color: rgb(74, 113, 197);
/* oklch */ color: oklch(56.1% 0.138 263.8);
Tailwind
colors: {
  custom: {
    50: '#8899d7',
    500: '#4a71c5',
    950: '#000000',
  },
}
SCSS
$custom: #4a71c5;
$custom-light: #8899d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71c5",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 220.976,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56142,
    "c": 0.13762,
    "h": 263.8
  },
  "luminance": 0.17297
}

Semantic roles & 50–950 ramp

primary
#4A71C5
secondary
#D0BF9B
accent
#AE4DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4A71C5

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

Preview Lab → · Contrast checker → · Palette generator →

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