#4D71D1#4D71D1

#4D71D1 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.153 H 266.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4D71D1
RGBrgb(77, 113, 209)
HSLhsl(224, 59%, 56%)
HSVhsv(224, 63%, 82%)
CMYKcmyk(63.2%, 45.9%, 0%, 18%)
CIE-LABlab(49.48, 17.45, -53.49)
CIE-LCHlch(49.48, 56.27, 288.07°)
OKLaboklab(57.07% -0.0101 -0.1529)
OKLCHoklch(57.07% 0.153 266.2)
XYZxyz(20.4704, 17.9896, 62.7028)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71D1 #D1AD4D
analogous
#4DB3D1 #4D71D1 #6B4DD1
triadic
#4D71D1 #D14D71 #71D14D
tetradic
#4D71D1 #D14DB3 #D1AD4D #4DD16B
square
#4D71D1 #D14DB3 #D1AD4D #4DD16B
split-complementary
#4D71D1 #D16B4D #B3D14D
monochromatic
#223C82 #2E52B3 #4D71D1 #7E98DE #AEBFEA

Accessibility & contrast

On white

4.57
#4D71D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4D71D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71D1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71D1#FFFFFF#000000##000000
##4D71D11.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD5
Deuteranopia (green-blind)
#2B70CF
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d71d1;
/* rgb */ color: rgb(77, 113, 209);
/* oklch */ color: oklch(57.1% 0.153 266.2);
Tailwind
colors: {
  custom: {
    50: '#8b99e0',
    500: '#4d71d1',
    950: '#000000',
  },
}
SCSS
$custom: #4d71d1;
$custom-light: #8b99e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71d1",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 209
  },
  "hsl": {
    "h": 223.636,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.15322,
    "h": 266.2
  },
  "luminance": 0.17991
}

Semantic roles & 50–950 ramp

primary
#4D71D1
secondary
#D8C9A2
accent
#B746E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D71D1

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

Preview Lab → · Contrast checker → · Palette generator →

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