#4D71C7#4D71C7

#4D71C7 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.139 H 265.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4D71C7
RGBrgb(77, 113, 199)
HSLhsl(222, 52%, 54%)
HSVhsv(222, 61%, 78%)
CMYKcmyk(61.3%, 43.2%, 0%, 22%)
CIE-LABlab(48.90, 14.01, -48.72)
CIE-LCHlch(48.90, 50.69, 286.05°)
OKLaboklab(56.42% -0.0118 -0.1388)
OKLCHoklch(56.42% 0.139 265.1)
XYZxyz(19.2710, 17.5099, 56.3860)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71C7 #C7A34D
analogous
#4DAEC7 #4D71C7 #664DC7
triadic
#4D71C7 #C74D71 #71C74D
tetradic
#4D71C7 #C74DAE #C7A34D #4DC766
square
#4D71C7 #C74DAE #C7A34D #4DC766
split-complementary
#4D71C7 #C7664D #AEC74D
monochromatic
#253C75 #3354A3 #4D71C7 #7C96D6 #AABBE4

Accessibility & contrast

On white

4.66
#4D71C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4D71C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71C7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71C7#FFFFFF#000000##FFFFFF
##4D71C71.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACA
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d71c7;
/* rgb */ color: rgb(77, 113, 199);
/* oklch */ color: oklch(56.4% 0.139 265.1);
Tailwind
colors: {
  custom: {
    50: '#8999d8',
    500: '#4d71c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d71c7;
$custom-light: #8999d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71c7",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 222.295,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.13935,
    "h": 265.1
  },
  "luminance": 0.17512
}

Semantic roles & 50–950 ramp

primary
#4D71C7
secondary
#D2C39E
accent
#B14CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #4D71C7

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

Preview Lab → · Contrast checker → · Palette generator →

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