#4D71D3#4D71D3

#4D71D3 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.156 H 266.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4D71D3
RGBrgb(77, 113, 211)
HSLhsl(224, 60%, 56%)
HSVhsv(224, 64%, 83%)
CMYKcmyk(63.5%, 46.4%, 0%, 17.3%)
CIE-LABlab(49.60, 18.14, -54.44)
CIE-LCHlch(49.60, 57.38, 288.43°)
OKLaboklab(57.2% -0.0098 -0.1557)
OKLCHoklch(57.2% 0.156 266.4)
XYZxyz(20.7195, 18.0893, 64.0151)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71D3 #D3AF4D
analogous
#4DB4D3 #4D71D3 #6C4DD3
triadic
#4D71D3 #D34D71 #71D34D
tetradic
#4D71D3 #D34DB4 #D3AF4D #4DD36C
square
#4D71D3 #D34DB4 #D3AF4D #4DD36C
split-complementary
#4D71D3 #D36C4D #B4D34D
monochromatic
#213C85 #2D52B6 #4D71D3 #7E98DF #AFBFEB

Accessibility & contrast

On white

4.55
#4D71D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4D71D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71D3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71D3#FFFFFF#000000##000000
##4D71D31.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD7
Deuteranopia (green-blind)
#2870D1
Tritanopia (blue-blind)
#008798
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d71d3;
/* rgb */ color: rgb(77, 113, 211);
/* oklch */ color: oklch(57.2% 0.156 266.4);
Tailwind
colors: {
  custom: {
    50: '#8b99e1',
    500: '#4d71d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d71d3;
$custom-light: #8b99e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71d3",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 223.881,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57196,
    "c": 0.15597,
    "h": 266.4
  },
  "luminance": 0.18091
}

Semantic roles & 50–950 ramp

primary
#4D71D3
secondary
#D9CBA2
accent
#B944E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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