#4D71DF#4D71DF

#4D71DF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.0% C 0.172 H 267.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4D71DF
RGBrgb(77, 113, 223)
HSLhsl(225, 70%, 59%)
HSVhsv(225, 65%, 87%)
CMYKcmyk(65.5%, 49.3%, 0%, 12.5%)
CIE-LABlab(50.35, 22.30, -60.03)
CIE-LCHlch(50.35, 64.04, 290.38°)
OKLaboklab(58% -0.0083 -0.1721)
OKLCHoklch(58% 0.172 267.2)
XYZxyz(22.2804, 18.7137, 72.2357)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71DF #DFBB4D
analogous
#4DBADF #4D71DF #724DDF
triadic
#4D71DF #DF4D71 #71DF4D
tetradic
#4D71DF #DF4DBA #DFBB4D #4DDF72
square
#4D71DF #DF4DBA #DFBB4D #4DDF72
split-complementary
#4D71DF #DF724D #BADF4D
monochromatic
#1B3A97 #244DCA #4D71DF #819AE8 #B5C4F2

Accessibility & contrast

On white

4.43
#4D71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4D71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71DF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71DF#FFFFFF#000000##000000
##4D71DF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#0472DD
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d71df;
/* rgb */ color: rgb(77, 113, 223);
/* oklch */ color: oklch(58.0% 0.172 267.2);
Tailwind
colors: {
  custom: {
    50: '#8d99ea',
    500: '#4d71df',
    950: '#000000',
  },
}
SCSS
$custom: #4d71df;
$custom-light: #8d99ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71df",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 225.205,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58004,
    "c": 0.17232,
    "h": 267.2
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#4D71DF
secondary
#E1D2A7
accent
#C13BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4D71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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