#4A71BE#4A71BE

#4A71BE is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.128 H 262.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A71BE
RGBrgb(74, 113, 190)
HSLhsl(220, 47%, 52%)
HSVhsv(220, 61%, 75%)
CMYKcmyk(61.1%, 40.5%, 0%, 25.5%)
CIE-LABlab(48.24, 10.35, -44.60)
CIE-LCHlch(48.24, 45.79, 283.07°)
OKLaboklab(55.71% -0.0163 -0.1268)
OKLCHoklch(55.71% 0.128 262.7)
XYZxyz(18.0202, 16.9822, 51.0335)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71BE #BE974A
analogous
#4AABBE #4A71BE #5D4ABE
triadic
#4A71BE #BE4A71 #71BE4A
tetradic
#4A71BE #BE4AAB #BE974A #4ABE5D
square
#4A71BE #BE4AAB #BE974A #4ABE5D
split-complementary
#4A71BE #BE5D4A #ABBE4A
monochromatic
#253C68 #365695 #4A71BE #7794CE #A4B8DE

Accessibility & contrast

On white

4.78
#4A71BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4A71BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71BE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71BE#FFFFFF#000000##FFFFFF
##4A71BE1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C1
Deuteranopia (green-blind)
#3F6EBC
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4a71be;
/* rgb */ color: rgb(74, 113, 190);
/* oklch */ color: oklch(55.7% 0.128 262.7);
Tailwind
colors: {
  custom: {
    50: '#8699d2',
    500: '#4a71be',
    950: '#000000',
  },
}
SCSS
$custom: #4a71be;
$custom-light: #8699d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71be",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 219.828,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55711,
    "c": 0.12788,
    "h": 262.7
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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