#4D71C8#4D71C8

#4D71C8 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.141 H 265.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4D71C8
RGBrgb(77, 113, 200)
HSLhsl(222, 53%, 54%)
HSVhsv(222, 62%, 78%)
CMYKcmyk(61.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(48.95, 14.35, -49.20)
CIE-LCHlch(48.95, 51.25, 286.27°)
OKLaboklab(56.49% -0.0116 -0.1403)
OKLCHoklch(56.49% 0.141 265.3)
XYZxyz(19.3874, 17.5565, 56.9994)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71C8 #C8A44D
analogous
#4DAFC8 #4D71C8 #674DC8
triadic
#4D71C8 #C84D71 #71C84D
tetradic
#4D71C8 #C84DAF #C8A44D #4DC867
square
#4D71C8 #C84DAF #C8A44D #4DC867
split-complementary
#4D71C8 #C8674D #AFC84D
monochromatic
#243C76 #3354A5 #4D71C8 #7C96D6 #ABBCE5

Accessibility & contrast

On white

4.65
#4D71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4D71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71C8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71C8#FFFFFF#000000##FFFFFF
##4D71C81.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#376FC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d71c8;
/* rgb */ color: rgb(77, 113, 200);
/* oklch */ color: oklch(56.5% 0.141 265.3);
Tailwind
colors: {
  custom: {
    50: '#8a99d9',
    500: '#4d71c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d71c8;
$custom-light: #8a99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71c8",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 222.439,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.14075,
    "h": 265.3
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

primary
#4D71C8
secondary
#D2C39E
accent
#B24CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4D71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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