#4C4EAE#4C4EAE

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

Color values

HEX#4C4EAE
RGBrgb(76, 78, 174)
HSLhsl(239, 39%, 49%)
HSVhsv(239, 56%, 68%)
CMYKcmyk(56.3%, 55.2%, 0%, 31.8%)
CIE-LABlab(37.91, 27.47, -51.78)
CIE-LCHlch(37.91, 58.62, 297.94°)
OKLaboklab(47.57% 0.0213 -0.1483)
OKLCHoklch(47.57% 0.15 278.2)
XYZxyz(13.3424, 10.0404, 41.2711)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EAE #AEAC4C
analogous
#4C7FAE #4C4EAE #7B4CAE
triadic
#4C4EAE #AE4C4E #4EAE4C
tetradic
#4C4EAE #AE4C7F #AEAC4C #4CAE7B
square
#4C4EAE #AE4C7F #AEAC4C #4CAE7B
split-complementary
#4C4EAE #AE7B4C #7FAE4C
monochromatic
#272859 #393B83 #4C4EAE #7576C3 #9FA0D5

Accessibility & contrast

On white

6.98
#4C4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4C4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EAE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EAE#FFFFFF#000000##FFFFFF
##4C4EAE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#186476
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c4eae;
/* rgb */ color: rgb(76, 78, 174);
/* oklch */ color: oklch(47.6% 0.150 278.2);
Tailwind
colors: {
  custom: {
    50: '#867fc7',
    500: '#4c4eae',
    950: '#000000',
  },
}
SCSS
$custom: #4c4eae;
$custom-light: #867fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4eae",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 238.776,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47571,
    "c": 0.1498,
    "h": 278.2
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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