#4E4782#4E4782

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

Color values

HEX#4E4782
RGBrgb(78, 71, 130)
HSLhsl(247, 29%, 39%)
HSVhsv(247, 45%, 51%)
CMYKcmyk(40%, 45.4%, 0%, 49%)
CIE-LABlab(33.43, 18.35, -32.33)
CIE-LCHlch(33.43, 37.18, 299.58°)
OKLaboklab(43.34% 0.0281 -0.0912)
OKLCHoklch(43.34% 0.095 287.2)
XYZxyz(9.4233, 7.7376, 22.1118)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4782 #7B8247
analogous
#475E82 #4E4782 #6C4782
triadic
#4E4782 #824E47 #47824E
tetradic
#4E4782 #82475E #7B8247 #47826C
square
#4E4782 #82475E #7B8247 #47826C
split-complementary
#4E4782 #826C47 #5E8247
monochromatic
#1F1C33 #36315A #4E4782 #675FA7 #8D86BD

Accessibility & contrast

On white

8.24
#4E4782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E4782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4782
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4782#FFFFFF#000000##FFFFFF
##4E47821.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#324D81
Tritanopia (blue-blind)
#40535E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4782;
/* rgb */ color: rgb(78, 71, 130);
/* oklch */ color: oklch(43.3% 0.095 287.2);
Tailwind
colors: {
  custom: {
    50: '#827aa6',
    500: '#4e4782',
    950: '#000000',
  },
}
SCSS
$custom: #4e4782;
$custom-light: #827aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4782",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 247.119,
    "s": 29.353,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.09541,
    "h": 287.2
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#4E4782
secondary
#A3A97C
accent
#C662BA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4782

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

Preview Lab → · Contrast checker → · Palette generator →

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