#4D71E1#4D71E1

#4D71E1 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.175 H 267.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4D71E1
RGBrgb(77, 113, 225)
HSLhsl(225, 71%, 59%)
HSVhsv(225, 66%, 88%)
CMYKcmyk(65.8%, 49.8%, 0%, 11.8%)
CIE-LABlab(50.48, 22.99, -60.96)
CIE-LCHlch(50.48, 65.15, 290.67°)
OKLaboklab(58.14% -0.0081 -0.1748)
OKLCHoklch(58.14% 0.175 267.4)
XYZxyz(22.5516, 18.8221, 73.6641)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71E1 #E1BD4D
analogous
#4DBBE1 #4D71E1 #734DE1
triadic
#4D71E1 #E14D71 #71E14D
tetradic
#4D71E1 #E14DBB #E1BD4D #4DE173
square
#4D71E1 #E14DBB #E1BD4D #4DE173
split-complementary
#4D71E1 #E1734D #BBE14D
monochromatic
#1A399A #234CCE #4D71E1 #819BEA #B6C5F3

Accessibility & contrast

On white

4.41
#4D71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4D71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71E1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71E1#FFFFFF#000000##000000
##4D71E11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#317FE5
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d71e1;
/* rgb */ color: rgb(77, 113, 225);
/* oklch */ color: oklch(58.1% 0.175 267.4);
Tailwind
colors: {
  custom: {
    50: '#8e99eb',
    500: '#4d71e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d71e1;
$custom-light: #8e99eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71e1",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 225.405,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58143,
    "c": 0.17503,
    "h": 267.4
  },
  "luminance": 0.18824
}

Semantic roles & 50–950 ramp

primary
#4D71E1
secondary
#E2D4A8
accent
#C23AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4D71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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