#4D71CD#4D71CD

#4D71CD is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.148 H 265.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4D71CD
RGBrgb(77, 113, 205)
HSLhsl(223, 56%, 55%)
HSVhsv(223, 62%, 80%)
CMYKcmyk(62.4%, 44.9%, 0%, 19.6%)
CIE-LABlab(49.25, 16.07, -51.59)
CIE-LCHlch(49.25, 54.04, 287.30°)
OKLaboklab(56.81% -0.0108 -0.1473)
OKLCHoklch(56.81% 0.148 265.8)
XYZxyz(19.9813, 17.7940, 60.1274)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71CD #CDA94D
analogous
#4DB1CD #4D71CD #694DCD
triadic
#4D71CD #CD4D71 #71CD4D
tetradic
#4D71CD #CD4DB1 #CDA94D #4DCD69
square
#4D71CD #CD4DB1 #CDA94D #4DCD69
split-complementary
#4D71CD #CD694D #B1CD4D
monochromatic
#233C7D #3053AC #4D71CD #7D97DA #ADBDE8

Accessibility & contrast

On white

4.61
#4D71CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4D71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71CD#FFFFFF#000000##FFFFFF
##4D71CD1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d71cd;
/* rgb */ color: rgb(77, 113, 205);
/* oklch */ color: oklch(56.8% 0.148 265.8);
Tailwind
colors: {
  custom: {
    50: '#8a99dd',
    500: '#4d71cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d71cd;
$custom-light: #8a99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71cd",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 223.125,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.14769,
    "h": 265.8
  },
  "luminance": 0.17796
}

Semantic roles & 50–950 ramp

primary
#4D71CD
secondary
#D6C7A0
accent
#B548DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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