#4D71D5#4D71D5

#4D71D5 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.3% C 0.159 H 266.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4D71D5
RGBrgb(77, 113, 213)
HSLhsl(224, 62%, 57%)
HSVhsv(224, 64%, 84%)
CMYKcmyk(63.8%, 46.9%, 0%, 16.5%)
CIE-LABlab(49.73, 18.83, -55.38)
CIE-LCHlch(49.73, 58.49, 288.78°)
OKLaboklab(57.33% -0.0096 -0.1584)
OKLCHoklch(57.33% 0.159 266.5)
XYZxyz(20.9718, 18.1902, 65.3438)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71D5 #D5B14D
analogous
#4DB5D5 #4D71D5 #6D4DD5
triadic
#4D71D5 #D54D71 #71D54D
tetradic
#4D71D5 #D54DB5 #D5B14D #4DD56D
square
#4D71D5 #D54DB5 #D5B14D #4DD56D
split-complementary
#4D71D5 #D56D4D #B5D54D
monochromatic
#203B88 #2C51B9 #4D71D5 #7F99E1 #B0C0EC

Accessibility & contrast

On white

4.53
#4D71D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4D71D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71D5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71D5#FFFFFF#000000##000000
##4D71D51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DD9
Deuteranopia (green-blind)
#2470D3
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4d71d5;
/* rgb */ color: rgb(77, 113, 213);
/* oklch */ color: oklch(57.3% 0.159 266.5);
Tailwind
colors: {
  custom: {
    50: '#8c99e2',
    500: '#4d71d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d71d5;
$custom-light: #8c99e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71d5",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 224.118,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57328,
    "c": 0.15871,
    "h": 266.5
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#4D71D5
secondary
#DBCCA3
accent
#BA43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D71D5

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

Preview Lab → · Contrast checker → · Palette generator →

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