#4D71D2#4D71D2

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

Color values

HEX#4D71D2
RGBrgb(77, 113, 210)
HSLhsl(224, 60%, 56%)
HSVhsv(224, 63%, 82%)
CMYKcmyk(63.3%, 46.2%, 0%, 17.6%)
CIE-LABlab(49.54, 17.80, -53.96)
CIE-LCHlch(49.54, 56.82, 288.25°)
OKLaboklab(57.13% -0.01 -0.1543)
OKLCHoklch(57.13% 0.155 266.3)
XYZxyz(20.5945, 18.0393, 63.3569)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71D2 #D2AE4D
analogous
#4DB4D2 #4D71D2 #6C4DD2
triadic
#4D71D2 #D24D71 #71D24D
tetradic
#4D71D2 #D24DB4 #D2AE4D #4DD26C
square
#4D71D2 #D24DB4 #D2AE4D #4DD26C
split-complementary
#4D71D2 #D26C4D #B4D24D
monochromatic
#213C83 #2E52B4 #4D71D2 #7E98DE #AFBFEB

Accessibility & contrast

On white

4.56
#4D71D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4D71D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71D2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71D2#FFFFFF#000000##000000
##4D71D21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#2970D0
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d71d2;
/* rgb */ color: rgb(77, 113, 210);
/* oklch */ color: oklch(57.1% 0.155 266.3);
Tailwind
colors: {
  custom: {
    50: '#8b99e0',
    500: '#4d71d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d71d2;
$custom-light: #8b99e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71d2",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 223.759,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.15459,
    "h": 266.3
  },
  "luminance": 0.18041
}

Semantic roles & 50–950 ramp

primary
#4D71D2
secondary
#D9CAA2
accent
#B845E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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