#4E4886#4E4886

#4E4886 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.8% C 0.100 H 285.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4E4886
RGBrgb(78, 72, 134)
HSLhsl(246, 30%, 40%)
HSVhsv(246, 46%, 53%)
CMYKcmyk(41.8%, 46.3%, 0%, 47.5%)
CIE-LABlab(33.93, 18.93, -34.01)
CIE-LCHlch(33.93, 38.92, 299.10°)
OKLaboklab(43.79% 0.0274 -0.0961)
OKLCHoklch(43.79% 0.1 285.9)
XYZxyz(9.7611, 7.9753, 23.5747)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4886 #808648
analogous
#486186 #4E4886 #6D4886
triadic
#4E4886 #864E48 #48864E
tetradic
#4E4886 #864861 #808648 #48866D
square
#4E4886 #864861 #808648 #48866D
split-complementary
#4E4886 #866D48 #618648
monochromatic
#201D36 #37335E #4E4886 #6861AA #8E89C0

Accessibility & contrast

On white

8.09
#4E4886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E4886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4886
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4886#FFFFFF#000000##FFFFFF
##4E48861.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315288
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#3E5460
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4886;
/* rgb */ color: rgb(78, 72, 134);
/* oklch */ color: oklch(43.8% 0.100 285.9);
Tailwind
colors: {
  custom: {
    50: '#827ba9',
    500: '#4e4886',
    950: '#000000',
  },
}
SCSS
$custom: #4e4886;
$custom-light: #827ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4886",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 134
  },
  "hsl": {
    "h": 245.806,
    "s": 30.097,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43792,
    "c": 0.09989,
    "h": 285.9
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#4E4886
secondary
#A7AB7F
accent
#C661BD
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4886

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

Preview Lab → · Contrast checker → · Palette generator →

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