#4D71C1#4D71C1

#4D71C1 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.131 H 264.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4D71C1
RGBrgb(77, 113, 193)
HSLhsl(221, 48%, 53%)
HSVhsv(221, 60%, 76%)
CMYKcmyk(60.1%, 41.5%, 0%, 24.3%)
CIE-LABlab(48.56, 11.96, -45.81)
CIE-LCHlch(48.56, 47.35, 284.63°)
OKLaboklab(56.05% -0.0129 -0.1303)
OKLCHoklch(56.05% 0.131 264.3)
XYZxyz(18.5880, 17.2367, 52.7892)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71C1 #C19D4D
analogous
#4DABC1 #4D71C1 #634DC1
triadic
#4D71C1 #C14D71 #71C14D
tetradic
#4D71C1 #C14DAB #C19D4D #4DC163
square
#4D71C1 #C14DAB #C19D4D #4DC163
split-complementary
#4D71C1 #C1634D #ABC14D
monochromatic
#263C6D #36559B #4D71C1 #7A95D1 #A8B9E1

Accessibility & contrast

On white

4.72
#4D71C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4D71C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71C1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71C1#FFFFFF#000000##FFFFFF
##4D71C11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C4
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4d71c1;
/* rgb */ color: rgb(77, 113, 193);
/* oklch */ color: oklch(56.1% 0.131 264.3);
Tailwind
colors: {
  custom: {
    50: '#8899d4',
    500: '#4d71c1',
    950: '#000000',
  },
}
SCSS
$custom: #4d71c1;
$custom-light: #8899d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71c1",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 221.379,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56053,
    "c": 0.13097,
    "h": 264.3
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#4D71C1
secondary
#CEBE9C
accent
#AE50D8
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4D71C1

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

Preview Lab → · Contrast checker → · Palette generator →

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