#4D71E9#4D71E9

#4D71E9 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.7% C 0.186 H 267.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4D71E9
RGBrgb(77, 113, 233)
HSLhsl(226, 78%, 61%)
HSVhsv(226, 67%, 91%)
CMYKcmyk(67%, 51.5%, 0%, 8.6%)
CIE-LABlab(51.00, 25.77, -64.61)
CIE-LCHlch(51.00, 69.56, 291.75°)
OKLaboklab(58.71% -0.0073 -0.1856)
OKLCHoklch(58.71% 0.186 267.7)
XYZxyz(23.6686, 19.2689, 79.5469)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D71E9 #E9C54D
analogous
#4DBFE9 #4D71E9 #774DE9
triadic
#4D71E9 #E94D71 #71E94D
tetradic
#4D71E9 #E94DBF #E9C54D #4DE977
square
#4D71E9 #E94DBF #E9C54D #4DE977
split-complementary
#4D71E9 #E9774D #BFE94D
monochromatic
#1536A7 #1B48DD #4D71E9 #839CF0 #BAC8F6

Accessibility & contrast

On white

4.33
#4D71E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4D71E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D71E9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D71E9#FFFFFF#000000##000000
##4D71E91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2581ED
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d71e9;
/* rgb */ color: rgb(77, 113, 233);
/* oklch */ color: oklch(58.7% 0.186 267.7);
Tailwind
colors: {
  custom: {
    50: '#8f99f1',
    500: '#4d71e9',
    950: '#000000',
  },
}
SCSS
$custom: #4d71e9;
$custom-light: #8f99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d71e9",
  "rgb": {
    "r": 77,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 226.154,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58705,
    "c": 0.18573,
    "h": 267.7
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#4D71E9
secondary
#E6D9AB
accent
#AA0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4D71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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