#4E5786#4E5786

#4E5786 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.0% C 0.077 H 274.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4E5786
RGBrgb(78, 87, 134)
HSLhsl(230, 26%, 42%)
HSVhsv(230, 42%, 53%)
CMYKcmyk(41.8%, 35.1%, 0%, 47.5%)
CIE-LABlab(38.12, 9.28, -27.39)
CIE-LCHlch(38.12, 28.92, 288.71°)
OKLaboklab(47% 0.0064 -0.0768)
OKLCHoklch(47% 0.077 274.8)
XYZxyz(10.8519, 10.1568, 23.9383)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5786 #867D4E
analogous
#4E7386 #4E5786 #614E86
triadic
#4E5786 #864E57 #57864E
tetradic
#4E5786 #864E73 #867D4E #4E8661
square
#4E5786 #864E73 #867D4E #4E8661
split-complementary
#4E5786 #86614E #73864E
monochromatic
#212539 #373E5F #4E5786 #6973A8 #9097BE

Accessibility & contrast

On white

6.93
#4E5786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E5786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5786
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5786#FFFFFF#000000##FFFFFF
##4E57861.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C88
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#3C6068
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5786;
/* rgb */ color: rgb(78, 87, 134);
/* oklch */ color: oklch(47.0% 0.077 274.8);
Tailwind
colors: {
  custom: {
    50: '#8286a9',
    500: '#4e5786',
    950: '#000000',
  },
}
SCSS
$custom: #4e5786;
$custom-light: #8286a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5786",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 230.357,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46996,
    "c": 0.07703,
    "h": 274.8
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#4E5786
secondary
#ABA585
accent
#B465C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5786

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

Preview Lab → · Contrast checker → · Palette generator →

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