#4D71AB#4D71AB

#4D71AB is a mid, moderate blue. Relative luminance 0.163; OKLCH L 54.8% C 0.100 H 259.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4D71AB
RGBrgb(77, 113, 171)
HSLhsl(217, 38%, 49%)
HSVhsv(217, 55%, 67%)
CMYKcmyk(55%, 33.9%, 0%, 32.9%)
CIE-LABlab(47.40, 4.59, -34.89)
CIE-LCHlch(47.40, 35.19, 277.50°)
OKLaboklab(54.78% -0.0181 -0.0984)
OKLCHoklch(54.78% 0.1 259.6)
XYZxyz(16.3139, 16.3270, 40.8119)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71AB #AB874D
analogous
#4DA0AB #4D71AB #584DAB
triadic
#4D71AB #AB4D71 #71AB4D
tetradic
#4D71AB #AB4DA0 #AB874D #4DAB58
square
#4D71AB #AB4DA0 #AB874D #4DAB58
split-complementary
#4D71AB #AB584D #A0AB4D
monochromatic
#273957 #3A5581 #4D71AB #7592C1 #9FB3D4

Accessibility & contrast

On white

4.92
#4D71AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4D71AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71AB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71AB#FFFFFF#000000##FFFFFF
##4D71AB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#4E6CAA
Tritanopia (blue-blind)
#157E86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d71ab;
/* rgb */ color: rgb(77, 113, 171);
/* oklch */ color: oklch(54.8% 0.100 259.6);
Tailwind
colors: {
  custom: {
    50: '#8599c4',
    500: '#4d71ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d71ab;
$custom-light: #8599c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71ab",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 217.021,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.10007,
    "h": 259.6
  },
  "luminance": 0.16328
}

Semantic roles & 50–950 ramp

primary
#4D71AB
secondary
#C0AF93
accent
#A15ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D12
muted
#7D7E81

Preview Lab

Preview with #4D71AB

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

Preview Lab → · Contrast checker → · Palette generator →

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