#4D4FE7#4D4FE7

#4D4FE7 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.223 H 275.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4D4FE7
RGBrgb(77, 79, 231)
HSLhsl(239, 76%, 60%)
HSVhsv(239, 67%, 91%)
CMYKcmyk(66.7%, 65.8%, 0%, 9.4%)
CIE-LABlab(42.67, 45.87, -77.04)
CIE-LCHlch(42.67, 89.67, 300.77°)
OKLaboklab(52.47% 0.0193 -0.2224)
OKLCHoklch(52.47% 0.223 275)
XYZxyz(20.2756, 12.9374, 77.0145)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4FE7 #E7E54D
analogous
#4D9CE7 #4D4FE7 #984DE7
triadic
#4D4FE7 #E74D4F #4FE74D
tetradic
#4D4FE7 #E74D9C #E7E54D #4DE798
square
#4D4FE7 #E74D9C #E7E54D #4DE798
split-complementary
#4D4FE7 #E7984D #9CE74D
monochromatic
#1618A4 #1D20D9 #4D4FE7 #8384EE #B9BAF6

Accessibility & contrast

On white

5.85
#4D4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4D4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4FE7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4FE7#FFFFFF#000000##FFFFFF
##4D4FE71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d4fe7;
/* rgb */ color: rgb(77, 79, 231);
/* oklch */ color: oklch(52.5% 0.223 275.0);
Tailwind
colors: {
  custom: {
    50: '#9181f0',
    500: '#4d4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #4d4fe7;
$custom-light: #9181f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4fe7",
  "rgb": {
    "r": 77,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 239.221,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.22327,
    "h": 275
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#4D4FE7
secondary
#E5E5AA
accent
#D60DD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4D4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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