#4D71BB#4D71BB

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

Color values

HEX#4D71BB
RGBrgb(77, 113, 187)
HSLhsl(220, 45%, 52%)
HSVhsv(220, 59%, 73%)
CMYKcmyk(58.8%, 39.6%, 0%, 26.7%)
CIE-LABlab(48.23, 9.93, -42.88)
CIE-LCHlch(48.23, 44.01, 283.04°)
OKLaboklab(55.69% -0.0142 -0.1217)
OKLCHoklch(55.69% 0.123 263.4)
XYZxyz(17.9323, 16.9744, 49.3355)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71BB #BB974D
analogous
#4DA8BB #4D71BB #604DBB
triadic
#4D71BB #BB4D71 #71BB4D
tetradic
#4D71BB #BB4DA8 #BB974D #4DBB60
square
#4D71BB #BB4DA8 #BB974D #4DBB60
split-complementary
#4D71BB #BB604D #A8BB4D
monochromatic
#273C66 #385693 #4D71BB #7994CC #A6B8DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D71BB#FFFFFF#000000##FFFFFF
##4D71BB1.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)
#5178BE
Deuteranopia (green-blind)
#436EB9
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4d71bb;
/* rgb */ color: rgb(77, 113, 187);
/* oklch */ color: oklch(55.7% 0.123 263.4);
Tailwind
colors: {
  custom: {
    50: '#8899d0',
    500: '#4d71bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d71bb;
$custom-light: #8899d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71bb",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 220.364,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.12255,
    "h": 263.4
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#4D71BB
secondary
#CABA9A
accent
#AA53D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4D71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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