#4D71E4#4D71E4

#4D71E4 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.179 H 267.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4D71E4
RGBrgb(77, 113, 228)
HSLhsl(226, 74%, 60%)
HSVhsv(226, 66%, 89%)
CMYKcmyk(66.2%, 50.4%, 0%, 10.6%)
CIE-LABlab(50.67, 24.04, -62.33)
CIE-LCHlch(50.67, 66.81, 291.09°)
OKLaboklab(58.35% -0.0078 -0.1789)
OKLCHoklch(58.35% 0.179 267.5)
XYZxyz(22.9645, 18.9873, 75.8384)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71E4 #E4C04D
analogous
#4DBDE4 #4D71E4 #744DE4
triadic
#4D71E4 #E44D71 #71E44D
tetradic
#4D71E4 #E44DBD #E4C04D #4DE474
square
#4D71E4 #E44DBD #E4C04D #4DE474
split-complementary
#4D71E4 #E4744D #BDE44D
monochromatic
#18389F #204BD4 #4D71E4 #829BEC #B7C6F4

Accessibility & contrast

On white

4.38
#4D71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4D71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71E4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71E4#FFFFFF#000000##000000
##4D71E41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d71e4;
/* rgb */ color: rgb(77, 113, 228);
/* oklch */ color: oklch(58.4% 0.179 267.5);
Tailwind
colors: {
  custom: {
    50: '#8e99ed',
    500: '#4d71e4',
    950: '#000000',
  },
}
SCSS
$custom: #4d71e4;
$custom-light: #8e99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71e4",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 225.695,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58352,
    "c": 0.17906,
    "h": 267.5
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#4D71E4
secondary
#E4D6A9
accent
#C437F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4D71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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