#4D71CE#4D71CE

#4D71CE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.149 H 265.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4D71CE
RGBrgb(77, 113, 206)
HSLhsl(223, 57%, 55%)
HSVhsv(223, 63%, 81%)
CMYKcmyk(62.6%, 45.1%, 0%, 19.2%)
CIE-LABlab(49.30, 16.42, -52.07)
CIE-LCHlch(49.30, 54.60, 287.50°)
OKLaboklab(56.87% -0.0106 -0.1487)
OKLCHoklch(56.87% 0.149 265.9)
XYZxyz(20.1024, 17.8425, 60.7651)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71CE #CEAA4D
analogous
#4DB1CE #4D71CE #694DCE
triadic
#4D71CE #CE4D71 #71CE4D
tetradic
#4D71CE #CE4DB1 #CEAA4D #4DCE69
square
#4D71CE #CE4DB1 #CEAA4D #4DCE69
split-complementary
#4D71CE #CE694D #B1CE4D
monochromatic
#233C7E #3053AE #4D71CE #7D97DB #ADBEE8

Accessibility & contrast

On white

4.60
#4D71CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4D71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D71CE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71CE#FFFFFF#000000##FFFFFF
##4D71CE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#457BD2
Deuteranopia (green-blind)
#2F70CC
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d71ce;
/* rgb */ color: rgb(77, 113, 206);
/* oklch */ color: oklch(56.9% 0.149 265.9);
Tailwind
colors: {
  custom: {
    50: '#8b99dd',
    500: '#4d71ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d71ce;
$custom-light: #8b99dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71ce",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 223.256,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5687,
    "c": 0.14908,
    "h": 265.9
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#4D71CE
secondary
#D6C7A1
accent
#B648E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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