#4E4E86#4E4E86

#4E4E86 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.0% C 0.090 H 282.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4E4E86
RGBrgb(78, 78, 134)
HSLhsl(240, 26%, 42%)
HSVhsv(240, 42%, 53%)
CMYKcmyk(41.8%, 41.8%, 0%, 47.5%)
CIE-LABlab(35.58, 15.05, -31.40)
CIE-LCHlch(35.58, 34.82, 295.61°)
OKLaboklab(45.04% 0.019 -0.0884)
OKLCHoklch(45.04% 0.09 282.2)
XYZxyz(10.1681, 8.7893, 23.7104)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E86 #86864E
analogous
#4E6A86 #4E4E86 #6A4E86
triadic
#4E4E86 #864E4E #4E864E
tetradic
#4E4E86 #864E6A #86864E #4E866A
square
#4E4E86 #864E6A #86864E #4E866A
split-complementary
#4E4E86 #866A4E #6A864E
monochromatic
#212139 #37375F #4E4E86 #6969A8 #9090BE

Accessibility & contrast

On white

7.61
#4E4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E86
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E86#FFFFFF#000000##FFFFFF
##4E4E861.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5688
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#3D5963
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4e86;
/* rgb */ color: rgb(78, 78, 134);
/* oklch */ color: oklch(45.0% 0.090 282.2);
Tailwind
colors: {
  custom: {
    50: '#827fa9',
    500: '#4e4e86',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e86;
$custom-light: #827fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e86",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.09046,
    "h": 282.2
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#4E4E86
secondary
#ABAB85
accent
#C365C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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