#4E4686#4E4686

#4E4686 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.4% C 0.103 H 287.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4E4686
RGBrgb(78, 70, 134)
HSLhsl(248, 31%, 40%)
HSVhsv(248, 48%, 53%)
CMYKcmyk(41.8%, 47.8%, 0%, 47.5%)
CIE-LABlab(33.39, 20.22, -34.86)
CIE-LCHlch(33.39, 40.30, 300.11°)
OKLaboklab(43.39% 0.0302 -0.0986)
OKLCHoklch(43.39% 0.103 287)
XYZxyz(9.6339, 7.7209, 23.5323)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4686 #7E8646
analogous
#465E86 #4E4686 #6E4686
triadic
#4E4686 #864E46 #46864E
tetradic
#4E4686 #86465E #7E8646 #46866E
square
#4E4686 #86465E #7E8646 #46866E
split-complementary
#4E4686 #866E46 #5E8646
monochromatic
#1F1C36 #37315E #4E4686 #685EAB #8E86C0

Accessibility & contrast

On white

8.25
#4E4686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4686
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4686#FFFFFF#000000##FFFFFF
##4E46861.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#3E535F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4686;
/* rgb */ color: rgb(78, 70, 134);
/* oklch */ color: oklch(43.4% 0.103 287.0);
Tailwind
colors: {
  custom: {
    50: '#8379a9',
    500: '#4e4686',
    950: '#000000',
  },
}
SCSS
$custom: #4e4686;
$custom-light: #8379a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4686",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 247.5,
    "s": 31.373,
    "l": 40
  },
  "oklch": {
    "l": 0.43386,
    "c": 0.10307,
    "h": 287
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#4E4686
secondary
#A6AB7C
accent
#C860BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4686

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

Preview Lab → · Contrast checker → · Palette generator →

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