#4E6587#4E6587

#4E6587 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.2% C 0.061 H 258.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4E6587
RGBrgb(78, 101, 135)
HSLhsl(216, 27%, 42%)
HSVhsv(216, 42%, 53%)
CMYKcmyk(42.2%, 25.2%, 0%, 47.1%)
CIE-LABlab(42.27, 0.83, -21.55)
CIE-LCHlch(42.27, 21.56, 272.20°)
OKLaboklab(50.24% -0.0127 -0.0599)
OKLCHoklch(50.24% 0.061 258)
XYZxyz(12.1673, 12.6757, 24.7225)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6587 #87704E
analogous
#4E8287 #4E6587 #534E87
triadic
#4E6587 #874E65 #65874E
tetradic
#4E6587 #874E82 #87704E #4E8753
square
#4E6587 #874E82 #87704E #4E8753
split-complementary
#4E6587 #87534E #82874E
monochromatic
#212B39 #384860 #4E6587 #6A83A9 #90A3BF

Accessibility & contrast

On white

5.94
#4E6587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E6587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6587
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6587#FFFFFF#000000##FFFFFF
##4E65871.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596789
Deuteranopia (green-blind)
#526186
Tritanopia (blue-blind)
#3A6C71
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6587;
/* rgb */ color: rgb(78, 101, 135);
/* oklch */ color: oklch(50.2% 0.061 258.0);
Tailwind
colors: {
  custom: {
    50: '#8290aa',
    500: '#4e6587',
    950: '#000000',
  },
}
SCSS
$custom: #4e6587;
$custom-light: #8290aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6587",
  "rgb": {
    "r": 78,
    "g": 101,
    "b": 135
  },
  "hsl": {
    "h": 215.789,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50238,
    "c": 0.06126,
    "h": 258
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#4E6587
secondary
#AC9C85
accent
#9D65C3
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E6587

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

Preview Lab → · Contrast checker → · Palette generator →

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