#4D71E3#4D71E3

#4D71E3 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.178 H 267.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4D71E3
RGBrgb(77, 113, 227)
HSLhsl(226, 73%, 60%)
HSVhsv(226, 66%, 89%)
CMYKcmyk(66.1%, 50.2%, 0%, 11%)
CIE-LABlab(50.61, 23.69, -61.88)
CIE-LCHlch(50.61, 66.25, 290.95°)
OKLaboklab(58.28% -0.0079 -0.1775)
OKLCHoklch(58.28% 0.178 267.5)
XYZxyz(22.8260, 18.9319, 75.1094)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71E3 #E3BF4D
analogous
#4DBCE3 #4D71E3 #744DE3
triadic
#4D71E3 #E34D71 #71E34D
tetradic
#4D71E3 #E34DBC #E3BF4D #4DE374
square
#4D71E3 #E34DBC #E3BF4D #4DE374
split-complementary
#4D71E3 #E3744D #BCE34D
monochromatic
#19389D #214BD2 #4D71E3 #829BEB #B7C5F4

Accessibility & contrast

On white

4.39
#4D71E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4D71E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71E3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71E3#FFFFFF#000000##000000
##4D71E31.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E80E7
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d71e3;
/* rgb */ color: rgb(77, 113, 227);
/* oklch */ color: oklch(58.3% 0.178 267.5);
Tailwind
colors: {
  custom: {
    50: '#8e99ec',
    500: '#4d71e3',
    950: '#000000',
  },
}
SCSS
$custom: #4d71e3;
$custom-light: #8e99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71e3",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 225.6,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.17771,
    "h": 267.5
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#4D71E3
secondary
#E3D5A9
accent
#C438F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4D71E3

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

Preview Lab → · Contrast checker → · Palette generator →

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