#4D71ED#4D71ED

#4D71ED is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.191 H 267.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4D71ED
RGBrgb(77, 113, 237)
HSLhsl(227, 82%, 62%)
HSVhsv(227, 68%, 93%)
CMYKcmyk(67.5%, 52.3%, 0%, 7.1%)
CIE-LABlab(51.27, 27.16, -66.42)
CIE-LCHlch(51.27, 71.76, 292.24°)
OKLaboklab(58.99% -0.007 -0.1909)
OKLCHoklch(58.99% 0.191 267.9)
XYZxyz(24.2465, 19.5001, 82.5904)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71ED #EDC94D
analogous
#4DC1ED #4D71ED #794DED
triadic
#4D71ED #ED4D71 #71ED4D
tetradic
#4D71ED #ED4DC1 #EDC94D #4DED79
square
#4D71ED #ED4DC1 #EDC94D #4DED79
split-complementary
#4D71ED #ED794D #C1ED4D
monochromatic
#1235AE #1746E6 #4D71ED #859DF3 #BCCAF8

Accessibility & contrast

On white

4.29
#4D71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4D71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71ED
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71ED#FFFFFF#000000##000000
##4D71ED1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d71ed;
/* rgb */ color: rgb(77, 113, 237);
/* oklch */ color: oklch(59.0% 0.191 267.9);
Tailwind
colors: {
  custom: {
    50: '#9099f4',
    500: '#4d71ed',
    950: '#000000',
  },
}
SCSS
$custom: #4d71ed;
$custom-light: #9099f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71ed",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 226.5,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58991,
    "c": 0.19104,
    "h": 267.9
  },
  "luminance": 0.19502
}

Semantic roles & 50–950 ramp

primary
#4D71ED
secondary
#E9DBAD
accent
#AE07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4D71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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