#4D71BC#4D71BC

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

Color values

HEX#4D71BC
RGBrgb(77, 113, 188)
HSLhsl(221, 45%, 52%)
HSVhsv(221, 59%, 74%)
CMYKcmyk(59%, 39.9%, 0%, 26.3%)
CIE-LABlab(48.28, 10.27, -43.37)
CIE-LCHlch(48.28, 44.57, 283.32°)
OKLaboklab(55.75% -0.014 -0.1232)
OKLCHoklch(55.75% 0.124 263.5)
XYZxyz(18.0397, 17.0174, 49.9012)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71BC #BC984D
analogous
#4DA8BC #4D71BC #614DBC
triadic
#4D71BC #BC4D71 #71BC4D
tetradic
#4D71BC #BC4DA8 #BC984D #4DBC61
square
#4D71BC #BC4DA8 #BC984D #4DBC61
split-complementary
#4D71BC #BC614D #A8BC4D
monochromatic
#273C68 #385694 #4D71BC #7994CD #A6B8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D71BC#FFFFFF#000000##FFFFFF
##4D71BC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d71bc;
/* rgb */ color: rgb(77, 113, 188);
/* oklch */ color: oklch(55.8% 0.124 263.5);
Tailwind
colors: {
  custom: {
    50: '#8899d0',
    500: '#4d71bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d71bc;
$custom-light: #8899d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71bc",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 220.541,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.12396,
    "h": 263.5
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#4D71BC
secondary
#CBBB9A
accent
#AB53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4D71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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