#4E4586#4E4586

#4E4586 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.2% C 0.105 H 287.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4E4586
RGBrgb(78, 69, 134)
HSLhsl(248, 32%, 40%)
HSVhsv(248, 49%, 53%)
CMYKcmyk(41.8%, 48.5%, 0%, 47.5%)
CIE-LABlab(33.13, 20.86, -35.28)
CIE-LCHlch(33.13, 40.99, 300.60°)
OKLaboklab(43.19% 0.0315 -0.0998)
OKLCHoklch(43.19% 0.105 287.5)
XYZxyz(9.5719, 7.5969, 23.5116)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4586 #7D8645
analogous
#455C86 #4E4586 #6F4586
triadic
#4E4586 #864E45 #45864E
tetradic
#4E4586 #86455C #7D8645 #45866F
square
#4E4586 #86455C #7D8645 #45866F
split-complementary
#4E4586 #866F45 #5C8645
monochromatic
#1F1B35 #36305E #4E4586 #685DAB #8D85C0

Accessibility & contrast

On white

8.34
#4E4586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4E4586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4586
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4586#FFFFFF#000000##FFFFFF
##4E45861.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4F88
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#3E525F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4586;
/* rgb */ color: rgb(78, 69, 134);
/* oklch */ color: oklch(43.2% 0.105 287.5);
Tailwind
colors: {
  custom: {
    50: '#8378a9',
    500: '#4e4586',
    950: '#000000',
  },
}
SCSS
$custom: #4e4586;
$custom-light: #8378a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4586",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 248.308,
    "s": 32.02,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.10467,
    "h": 287.5
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#4E4586
secondary
#A5AC7B
accent
#C860BA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4586

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

Preview Lab → · Contrast checker → · Palette generator →

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