#4E5586#4E5586

#4E5586 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.080 H 276.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4E5586
RGBrgb(78, 85, 134)
HSLhsl(233, 26%, 42%)
HSVhsv(233, 42%, 53%)
CMYKcmyk(41.8%, 36.6%, 0%, 47.5%)
CIE-LABlab(37.55, 10.55, -28.29)
CIE-LCHlch(37.55, 30.20, 290.45°)
OKLaboklab(46.55% 0.0092 -0.0794)
OKLCHoklch(46.55% 0.08 276.6)
XYZxyz(10.6922, 9.8375, 23.8851)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5586 #867F4E
analogous
#4E7186 #4E5586 #634E86
triadic
#4E5586 #864E55 #55864E
tetradic
#4E5586 #864E71 #867F4E #4E8663
square
#4E5586 #864E71 #867F4E #4E8663
split-complementary
#4E5586 #86634E #71864E
monochromatic
#212439 #373C5F #4E5586 #6971A8 #9096BE

Accessibility & contrast

On white

7.08
#4E5586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E5586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5586
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5586#FFFFFF#000000##FFFFFF
##4E55861.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B88
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#3D5F67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5586;
/* rgb */ color: rgb(78, 85, 134);
/* oklch */ color: oklch(46.6% 0.080 276.6);
Tailwind
colors: {
  custom: {
    50: '#8284a9',
    500: '#4e5586',
    950: '#000000',
  },
}
SCSS
$custom: #4e5586;
$custom-light: #8284a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5586",
  "rgb": {
    "r": 78,
    "g": 85,
    "b": 134
  },
  "hsl": {
    "h": 232.5,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.0799,
    "h": 276.6
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#4E5586
secondary
#ABA685
accent
#B765C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5586

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

Preview Lab → · Contrast checker → · Palette generator →

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