#4A71BC#4A71BC

#4A71BC is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.125 H 262.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4A71BC
RGBrgb(74, 113, 188)
HSLhsl(219, 46%, 51%)
HSVhsv(219, 61%, 74%)
CMYKcmyk(60.6%, 39.9%, 0%, 26.3%)
CIE-LABlab(48.13, 9.67, -43.62)
CIE-LCHlch(48.13, 44.68, 282.50°)
OKLaboklab(55.59% -0.0167 -0.124)
OKLCHoklch(55.59% 0.125 262.3)
XYZxyz(17.8031, 16.8954, 49.8901)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71BC #BC954A
analogous
#4AAABC #4A71BC #5C4ABC
triadic
#4A71BC #BC4A71 #71BC4A
tetradic
#4A71BC #BC4AAA #BC954A #4ABC5C
square
#4A71BC #BC4AAA #BC954A #4ABC5C
split-complementary
#4A71BC #BC5C4A #AABC4A
monochromatic
#263C66 #365693 #4A71BC #7794CD #A3B7DD

Accessibility & contrast

On white

4.80
#4A71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4A71BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71BC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71BC#FFFFFF#000000##FFFFFF
##4A71BC1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#416DBA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a71bc;
/* rgb */ color: rgb(74, 113, 188);
/* oklch */ color: oklch(55.6% 0.125 262.3);
Tailwind
colors: {
  custom: {
    50: '#8699d0',
    500: '#4a71bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a71bc;
$custom-light: #8699d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71bc",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 219.474,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.12509,
    "h": 262.3
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

primary
#4A71BC
secondary
#CAB998
accent
#A952D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4A71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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