#4A71BF#4A71BF

#4A71BF is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.129 H 262.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4A71BF
RGBrgb(74, 113, 191)
HSLhsl(220, 48%, 52%)
HSVhsv(220, 61%, 75%)
CMYKcmyk(61.3%, 40.8%, 0%, 25.1%)
CIE-LABlab(48.29, 10.70, -45.09)
CIE-LCHlch(48.29, 46.34, 283.35°)
OKLaboklab(55.77% -0.0161 -0.1283)
OKLCHoklch(55.77% 0.129 262.9)
XYZxyz(18.1299, 17.0261, 51.6111)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71BF #BF984A
analogous
#4AACBF #4A71BF #5E4ABF
triadic
#4A71BF #BF4A71 #71BF4A
tetradic
#4A71BF #BF4AAC #BF984A #4ABF5E
square
#4A71BF #BF4AAC #BF984A #4ABF5E
split-complementary
#4A71BF #BF5E4A #ACBF4A
monochromatic
#253C69 #355697 #4A71BF #7794CF #A4B8DF

Accessibility & contrast

On white

4.77
#4A71BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4A71BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71BF#FFFFFF#000000##FFFFFF
##4A71BF1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C2
Deuteranopia (green-blind)
#3E6EBD
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a71bf;
/* rgb */ color: rgb(74, 113, 191);
/* oklch */ color: oklch(55.8% 0.129 262.9);
Tailwind
colors: {
  custom: {
    50: '#8799d3',
    500: '#4a71bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a71bf;
$custom-light: #8799d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71bf",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 220,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.12928,
    "h": 262.9
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#4A71BF
secondary
#CCBB99
accent
#AA50D7
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4A71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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