#4A71BA#4A71BA

#4A71BA is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.5% C 0.122 H 261.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4A71BA
RGBrgb(74, 113, 186)
HSLhsl(219, 45%, 51%)
HSVhsv(219, 60%, 73%)
CMYKcmyk(60.2%, 39.2%, 0%, 27.1%)
CIE-LABlab(48.02, 8.98, -42.64)
CIE-LCHlch(48.02, 43.57, 281.90°)
OKLaboklab(55.47% -0.0172 -0.1211)
OKLCHoklch(55.47% 0.122 261.9)
XYZxyz(17.5890, 16.8098, 48.7626)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71BA #BA934A
analogous
#4AA9BA #4A71BA #5B4ABA
triadic
#4A71BA #BA4A71 #71BA4A
tetradic
#4A71BA #BA4AA9 #BA934A #4ABA5B
square
#4A71BA #BA4AA9 #BA934A #4ABA5B
split-complementary
#4A71BA #BA5B4A #A9BA4A
monochromatic
#263B64 #375690 #4A71BA #7694CB #A3B7DC

Accessibility & contrast

On white

4.81
#4A71BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4A71BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71BA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71BA#FFFFFF#000000##FFFFFF
##4A71BA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a71ba;
/* rgb */ color: rgb(74, 113, 186);
/* oklch */ color: oklch(55.5% 0.122 261.9);
Tailwind
colors: {
  custom: {
    50: '#8699cf',
    500: '#4a71ba',
    950: '#000000',
  },
}
SCSS
$custom: #4a71ba;
$custom-light: #8699cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71ba",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 219.107,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.1223,
    "h": 261.9
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#4A71BA
secondary
#C9B797
accent
#A853D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4A71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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