#4E5886#4E5886

#4E5886 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.2% C 0.076 H 273.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4E5886
RGBrgb(78, 88, 134)
HSLhsl(229, 26%, 42%)
HSVhsv(229, 42%, 53%)
CMYKcmyk(41.8%, 34.3%, 0%, 47.5%)
CIE-LABlab(38.41, 8.64, -26.94)
CIE-LCHlch(38.41, 28.30, 287.78°)
OKLaboklab(47.22% 0.005 -0.0755)
OKLCHoklch(47.22% 0.076 273.8)
XYZxyz(10.9334, 10.3199, 23.9655)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5886 #867C4E
analogous
#4E7486 #4E5886 #604E86
triadic
#4E5886 #864E58 #58864E
tetradic
#4E5886 #864E74 #867C4E #4E8660
square
#4E5886 #864E74 #867C4E #4E8660
split-complementary
#4E5886 #86604E #74864E
monochromatic
#212539 #373F5F #4E5886 #6974A8 #9098BE

Accessibility & contrast

On white

6.85
#4E5886 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E5886 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5886
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5886#FFFFFF#000000##FFFFFF
##4E58861.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D88
Deuteranopia (green-blind)
#445885
Tritanopia (blue-blind)
#3C6169
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5886;
/* rgb */ color: rgb(78, 88, 134);
/* oklch */ color: oklch(47.2% 0.076 273.8);
Tailwind
colors: {
  custom: {
    50: '#8287a9',
    500: '#4e5886',
    950: '#000000',
  },
}
SCSS
$custom: #4e5886;
$custom-light: #8287a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5886",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 134
  },
  "hsl": {
    "h": 229.286,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47219,
    "c": 0.07563,
    "h": 273.8
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#4E5886
secondary
#ABA485
accent
#B265C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5886

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

Preview Lab → · Contrast checker → · Palette generator →

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