#4A71BD#4A71BD

#4A71BD is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.7% C 0.126 H 262.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4A71BD
RGBrgb(74, 113, 189)
HSLhsl(220, 47%, 52%)
HSVhsv(220, 61%, 74%)
CMYKcmyk(60.8%, 40.2%, 0%, 25.9%)
CIE-LABlab(48.18, 10.01, -44.11)
CIE-LCHlch(48.18, 45.23, 282.78°)
OKLaboklab(55.65% -0.0165 -0.1254)
OKLCHoklch(55.65% 0.126 262.5)
XYZxyz(17.9113, 16.9387, 50.4598)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71BD #BD964A
analogous
#4AABBD #4A71BD #5D4ABD
triadic
#4A71BD #BD4A71 #71BD4A
tetradic
#4A71BD #BD4AAB #BD964A #4ABD5D
square
#4A71BD #BD4AAB #BD964A #4ABD5D
split-complementary
#4A71BD #BD5D4A #ABBD4A
monochromatic
#263C67 #365694 #4A71BD #7794CD #A4B7DE

Accessibility & contrast

On white

4.79
#4A71BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4A71BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71BD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71BD#FFFFFF#000000##FFFFFF
##4A71BD1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a71bd;
/* rgb */ color: rgb(74, 113, 189);
/* oklch */ color: oklch(55.7% 0.126 262.5);
Tailwind
colors: {
  custom: {
    50: '#8699d1',
    500: '#4a71bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a71bd;
$custom-light: #8699d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71bd",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 219.652,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55651,
    "c": 0.12648,
    "h": 262.5
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A71BD

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

Preview Lab → · Contrast checker → · Palette generator →

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