#4D71DC#4D71DC

#4D71DC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.168 H 267.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4D71DC
RGBrgb(77, 113, 220)
HSLhsl(225, 67%, 58%)
HSVhsv(225, 65%, 86%)
CMYKcmyk(65%, 48.6%, 0%, 13.7%)
CIE-LABlab(50.16, 21.26, -58.65)
CIE-LCHlch(50.16, 62.38, 289.93°)
OKLaboklab(57.8% -0.0086 -0.168)
OKLCHoklch(57.8% 0.168 267.1)
XYZxyz(21.8795, 18.5533, 70.1244)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71DC #DCB84D
analogous
#4DB8DC #4D71DC #704DDC
triadic
#4D71DC #DC4D71 #71DC4D
tetradic
#4D71DC #DC4DB8 #DCB84D #4DDC70
square
#4D71DC #DC4DB8 #DCB84D #4DDC70
split-complementary
#4D71DC #DC704D #B8DC4D
monochromatic
#1D3A92 #274FC5 #4D71DC #809AE6 #B3C3F0

Accessibility & contrast

On white

4.46
#4D71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4D71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71DC#FFFFFF#000000##000000
##4D71DC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#1271DA
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d71dc;
/* rgb */ color: rgb(77, 113, 220);
/* oklch */ color: oklch(57.8% 0.168 267.1);
Tailwind
colors: {
  custom: {
    50: '#8d99e7',
    500: '#4d71dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d71dc;
$custom-light: #8d99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71dc",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 224.895,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.16826,
    "h": 267.1
  },
  "luminance": 0.18555
}

Semantic roles & 50–950 ramp

primary
#4D71DC
secondary
#DFD1A6
accent
#BF3EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4D71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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