#4D71B2#4D71B2

#4D71B2 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.2% C 0.110 H 261.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4D71B2
RGBrgb(77, 113, 178)
HSLhsl(219, 40%, 50%)
HSVhsv(219, 57%, 70%)
CMYKcmyk(56.7%, 36.5%, 0%, 30.2%)
CIE-LABlab(47.75, 6.91, -38.41)
CIE-LCHlch(47.75, 39.03, 280.19°)
OKLaboklab(55.17% -0.0163 -0.1087)
OKLCHoklch(55.17% 0.11 261.5)
XYZxyz(16.9988, 16.6010, 44.4194)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71B2 #B28E4D
analogous
#4DA3B2 #4D71B2 #5C4DB2
triadic
#4D71B2 #B24D71 #71B24D
tetradic
#4D71B2 #B24DA3 #B28E4D #4DB25C
square
#4D71B2 #B24DA3 #B28E4D #4DB25C
split-complementary
#4D71B2 #B25C4D #A3B24D
monochromatic
#283B5D #3B5687 #4D71B2 #7893C4 #A2B5D7

Accessibility & contrast

On white

4.86
#4D71B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4D71B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71B2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71B2#FFFFFF#000000##FFFFFF
##4D71B21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#4A6DB1
Tritanopia (blue-blind)
#037F89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d71b2;
/* rgb */ color: rgb(77, 113, 178);
/* oklch */ color: oklch(55.2% 0.110 261.5);
Tailwind
colors: {
  custom: {
    50: '#8699c9',
    500: '#4d71b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d71b2;
$custom-light: #8699c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71b2",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 218.614,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.55169,
    "c": 0.10989,
    "h": 261.5
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#4D71B2
secondary
#C4B497
accent
#A558CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #4D71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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