#4D71C3#4D71C3

#4D71C3 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.134 H 264.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4D71C3
RGBrgb(77, 113, 195)
HSLhsl(222, 50%, 53%)
HSVhsv(222, 61%, 76%)
CMYKcmyk(60.5%, 42.1%, 0%, 23.5%)
CIE-LABlab(48.67, 12.64, -46.78)
CIE-LCHlch(48.67, 48.46, 285.12°)
OKLaboklab(56.18% -0.0125 -0.1332)
OKLCHoklch(56.18% 0.134 264.6)
XYZxyz(18.8126, 17.3266, 53.9721)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71C3 #C39F4D
analogous
#4DACC3 #4D71C3 #644DC3
triadic
#4D71C3 #C34D71 #71C34D
tetradic
#4D71C3 #C34DAC #C39F4D #4DC364
square
#4D71C3 #C34DAC #C39F4D #4DC364
split-complementary
#4D71C3 #C3644D #ACC34D
monochromatic
#263C70 #35559E #4D71C3 #7B96D2 #A9BAE2

Accessibility & contrast

On white

4.70
#4D71C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4D71C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71C3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71C3#FFFFFF#000000##FFFFFF
##4D71C31.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C6
Deuteranopia (green-blind)
#3C6FC1
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d71c3;
/* rgb */ color: rgb(77, 113, 195);
/* oklch */ color: oklch(56.2% 0.134 264.6);
Tailwind
colors: {
  custom: {
    50: '#8999d5',
    500: '#4d71c3',
    950: '#000000',
  },
}
SCSS
$custom: #4d71c3;
$custom-light: #8999d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71c3",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 221.695,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56176,
    "c": 0.13377,
    "h": 264.6
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#4D71C3
secondary
#CFC09D
accent
#AF4FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4D71C3

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

Preview Lab → · Contrast checker → · Palette generator →

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