#4D71EC#4D71EC

#4D71EC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.9% C 0.190 H 267.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4D71EC
RGBrgb(77, 113, 236)
HSLhsl(226, 81%, 61%)
HSVhsv(226, 67%, 93%)
CMYKcmyk(67.4%, 52.1%, 0%, 7.5%)
CIE-LABlab(51.20, 26.82, -65.97)
CIE-LCHlch(51.20, 71.21, 292.12°)
OKLaboklab(58.92% -0.007 -0.1896)
OKLCHoklch(58.92% 0.19 267.9)
XYZxyz(24.1008, 19.4418, 81.8231)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71EC #ECC84D
analogous
#4DC1EC #4D71EC #794DEC
triadic
#4D71EC #EC4D71 #71EC4D
tetradic
#4D71EC #EC4DC1 #ECC84D #4DEC79
square
#4D71EC #EC4DC1 #ECC84D #4DEC79
split-complementary
#4D71EC #EC794D #C1EC4D
monochromatic
#1235AC #1846E4 #4D71EC #849DF2 #BCC9F8

Accessibility & contrast

On white

4.30
#4D71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4D71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71EC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71EC#FFFFFF#000000##000000
##4D71EC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F0
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d71ec;
/* rgb */ color: rgb(77, 113, 236);
/* oklch */ color: oklch(58.9% 0.190 267.9);
Tailwind
colors: {
  custom: {
    50: '#9099f3',
    500: '#4d71ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d71ec;
$custom-light: #9099f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71ec",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 226.415,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.18972,
    "h": 267.9
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#4D71EC
secondary
#E8DBAD
accent
#AD08DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4D71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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