#4E5986#4E5986

#4E5986 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.4% C 0.074 H 272.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4E5986
RGBrgb(78, 89, 134)
HSLhsl(228, 26%, 42%)
HSVhsv(228, 42%, 53%)
CMYKcmyk(41.8%, 33.6%, 0%, 47.5%)
CIE-LABlab(38.70, 8.01, -26.49)
CIE-LCHlch(38.70, 27.68, 286.82°)
OKLaboklab(47.44% 0.0036 -0.0741)
OKLCHoklch(47.44% 0.074 272.8)
XYZxyz(11.0160, 10.4852, 23.9930)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5986 #867B4E
analogous
#4E7586 #4E5986 #5F4E86
triadic
#4E5986 #864E59 #59864E
tetradic
#4E5986 #864E75 #867B4E #4E865F
square
#4E5986 #864E75 #867B4E #4E865F
split-complementary
#4E5986 #865F4E #75864E
monochromatic
#212639 #373F5F #4E5986 #6976A8 #9099BE

Accessibility & contrast

On white

6.78
#4E5986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E5986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5986
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5986#FFFFFF#000000##FFFFFF
##4E59861.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E88
Deuteranopia (green-blind)
#455985
Tritanopia (blue-blind)
#3C6269
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5986;
/* rgb */ color: rgb(78, 89, 134);
/* oklch */ color: oklch(47.4% 0.074 272.8);
Tailwind
colors: {
  custom: {
    50: '#8287a9',
    500: '#4e5986',
    950: '#000000',
  },
}
SCSS
$custom: #4e5986;
$custom-light: #8287a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5986",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 228.214,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.07424,
    "h": 272.8
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#4E5986
secondary
#ABA385
accent
#B065C3
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5986

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

Preview Lab → · Contrast checker → · Palette generator →

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