#4E4A80#4E4A80

#4E4A80 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.8% C 0.087 H 285.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4E4A80
RGBrgb(78, 74, 128)
HSLhsl(244, 27%, 40%)
HSVhsv(244, 42%, 50%)
CMYKcmyk(39.1%, 42.2%, 0%, 49.8%)
CIE-LABlab(34.14, 15.81, -29.97)
CIE-LCHlch(34.14, 33.89, 297.81°)
OKLaboklab(43.84% 0.0235 -0.0843)
OKLCHoklch(43.84% 0.087 285.6)
XYZxyz(9.4859, 8.0755, 21.4768)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A80 #7C804A
analogous
#4A6180 #4E4A80 #694A80
triadic
#4E4A80 #804E4A #4A804E
tetradic
#4E4A80 #804A61 #7C804A #4A8069
square
#4E4A80 #804A61 #7C804A #4A8069
split-complementary
#4E4A80 #80694A #61804A
monochromatic
#1F1D32 #363459 #4E4A80 #6763A5 #8D89BB

Accessibility & contrast

On white

8.03
#4E4A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E4A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A80
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A80#FFFFFF#000000##FFFFFF
##4E4A801.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385282
Deuteranopia (green-blind)
#374F7F
Tritanopia (blue-blind)
#40545F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4a80;
/* rgb */ color: rgb(78, 74, 128);
/* oklch */ color: oklch(43.8% 0.087 285.6);
Tailwind
colors: {
  custom: {
    50: '#827ca5',
    500: '#4e4a80',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a80;
$custom-light: #827ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a80",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 128
  },
  "hsl": {
    "h": 244.444,
    "s": 26.733,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.08749,
    "h": 285.6
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#4E4A80
secondary
#A4A77F
accent
#C365BC
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4A80

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

Preview Lab → · Contrast checker → · Palette generator →

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