#4E4986#4E4986

#4E4986 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.0% C 0.098 H 285.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4E4986
RGBrgb(78, 73, 134)
HSLhsl(245, 29%, 41%)
HSVhsv(245, 46%, 53%)
CMYKcmyk(41.8%, 45.5%, 0%, 47.5%)
CIE-LABlab(34.20, 18.28, -33.58)
CIE-LCHlch(34.20, 38.23, 298.56°)
OKLaboklab(44% 0.026 -0.0948)
OKLCHoklch(44% 0.098 285.3)
XYZxyz(9.8263, 8.1057, 23.5964)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4986 #818649
analogous
#496286 #4E4986 #6C4986
triadic
#4E4986 #864E49 #49864E
tetradic
#4E4986 #864962 #818649 #49866C
square
#4E4986 #864962 #818649 #49866C
split-complementary
#4E4986 #866C49 #628649
monochromatic
#201E37 #37335E #4E4986 #6862AA #8E8ABF

Accessibility & contrast

On white

8.01
#4E4986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4986
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4986#FFFFFF#000000##FFFFFF
##4E49861.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335288
Deuteranopia (green-blind)
#314F85
Tritanopia (blue-blind)
#3E5561
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4986;
/* rgb */ color: rgb(78, 73, 134);
/* oklch */ color: oklch(44.0% 0.098 285.3);
Tailwind
colors: {
  custom: {
    50: '#827ba9',
    500: '#4e4986',
    950: '#000000',
  },
}
SCSS
$custom: #4e4986;
$custom-light: #827ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4986",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 244.918,
    "s": 29.469,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43997,
    "c": 0.0983,
    "h": 285.3
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#4E4986
secondary
#A8AB80
accent
#C662BE
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4986

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

Preview Lab → · Contrast checker → · Palette generator →

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