#4D4EAE#4D4EAE

#4D4EAE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.150 H 278.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4D4EAE
RGBrgb(77, 78, 174)
HSLhsl(239, 39%, 49%)
HSVhsv(239, 56%, 68%)
CMYKcmyk(55.7%, 55.2%, 0%, 31.8%)
CIE-LABlab(37.99, 27.67, -51.66)
CIE-LCHlch(37.99, 58.60, 298.17°)
OKLaboklab(47.65% 0.0225 -0.1479)
OKLCHoklch(47.65% 0.15 278.6)
XYZxyz(13.4225, 10.0817, 41.2749)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4EAE #AEAD4D
analogous
#4D7FAE #4D4EAE #7D4DAE
triadic
#4D4EAE #AE4D4E #4EAE4D
tetradic
#4D4EAE #AE4D7F #AEAD4D #4DAE7D
square
#4D4EAE #AE4D7F #AEAD4D #4DAE7D
split-complementary
#4D4EAE #AE7D4D #7FAE4D
monochromatic
#272859 #3A3B84 #4D4EAE #7677C2 #A0A1D5

Accessibility & contrast

On white

6.96
#4D4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4D4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4EAE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4EAE#FFFFFF#000000##FFFFFF
##4D4EAE1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5DB1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#1C6476
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d4eae;
/* rgb */ color: rgb(77, 78, 174);
/* oklch */ color: oklch(47.6% 0.150 278.6);
Tailwind
colors: {
  custom: {
    50: '#877fc7',
    500: '#4d4eae',
    950: '#000000',
  },
}
SCSS
$custom: #4d4eae;
$custom-light: #877fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4eae",
  "rgb": {
    "r": 77,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 239.381,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47645,
    "c": 0.14959,
    "h": 278.6
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#4D4EAE
secondary
#C2C295
accent
#CD59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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