#4E4A76#4E4A76

#4E4A76 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.3% C 0.072 H 287.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4E4A76
RGBrgb(78, 74, 118)
HSLhsl(245, 23%, 38%)
HSVhsv(245, 37%, 46%)
CMYKcmyk(33.9%, 37.3%, 0%, 53.7%)
CIE-LABlab(33.62, 12.85, -24.59)
CIE-LCHlch(33.62, 27.74, 297.59°)
OKLaboklab(43.27% 0.0212 -0.0686)
OKLCHoklch(43.27% 0.072 287.2)
XYZxyz(8.8598, 7.8250, 18.1796)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A76 #72764A
analogous
#4A5C76 #4E4A76 #644A76
triadic
#4E4A76 #764E4A #4A764E
tetradic
#4E4A76 #764A5C #72764A #4A7664
square
#4E4A76 #764A5C #72764A #4A7664
split-complementary
#4E4A76 #76644A #5C764A
monochromatic
#1C1B2B #353250 #4E4A76 #67629C #8B87B4

Accessibility & contrast

On white

8.19
#4E4A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E4A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A76
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A76#FFFFFF#000000##FFFFFF
##4E4A761.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5078
Deuteranopia (green-blind)
#3C4E75
Tritanopia (blue-blind)
#44525A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4a76;
/* rgb */ color: rgb(78, 74, 118);
/* oklch */ color: oklch(43.3% 0.072 287.2);
Tailwind
colors: {
  custom: {
    50: '#817c9d',
    500: '#4e4a76',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a76;
$custom-light: #817c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a76",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 118
  },
  "hsl": {
    "h": 245.455,
    "s": 22.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43268,
    "c": 0.07184,
    "h": 287.2
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#4E4A76
secondary
#9DA07C
accent
#BF68B7
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4A76

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

Preview Lab → · Contrast checker → · Palette generator →

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