#4D71D7#4D71D7

#4D71D7 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.161 H 266.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4D71D7
RGBrgb(77, 113, 215)
HSLhsl(224, 63%, 57%)
HSVhsv(224, 64%, 84%)
CMYKcmyk(64.2%, 47.4%, 0%, 15.7%)
CIE-LABlab(49.85, 19.53, -56.32)
CIE-LCHlch(49.85, 59.60, 289.12°)
OKLaboklab(57.46% -0.0093 -0.1612)
OKLCHoklch(57.46% 0.161 266.7)
XYZxyz(21.2272, 18.2924, 66.6889)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71D7 #D7B34D
analogous
#4DB6D7 #4D71D7 #6E4DD7
triadic
#4D71D7 #D74D71 #71D74D
tetradic
#4D71D7 #D74DB6 #D7B34D #4DD76E
square
#4D71D7 #D74DB6 #D7B34D #4DD76E
split-complementary
#4D71D7 #D76E4D #B6D74D
monochromatic
#1F3B8A #2A50BC #4D71D7 #7F99E2 #B1C1ED

Accessibility & contrast

On white

4.51
#4D71D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4D71D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71D7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71D7#FFFFFF#000000##000000
##4D71D71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDB
Deuteranopia (green-blind)
#2071D5
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d71d7;
/* rgb */ color: rgb(77, 113, 215);
/* oklch */ color: oklch(57.5% 0.161 266.7);
Tailwind
colors: {
  custom: {
    50: '#8c99e4',
    500: '#4d71d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d71d7;
$custom-light: #8c99e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71d7",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 224.348,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.16145,
    "h": 266.7
  },
  "luminance": 0.18294
}

Semantic roles & 50–950 ramp

primary
#4D71D7
secondary
#DCCDA4
accent
#BB41E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4D71D7

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

Preview Lab → · Contrast checker → · Palette generator →

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