#4E5A86#4E5A86

#4E5A86 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 47.7% C 0.073 H 271.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4E5A86
RGBrgb(78, 90, 134)
HSLhsl(227, 26%, 42%)
HSVhsv(227, 42%, 53%)
CMYKcmyk(41.8%, 32.8%, 0%, 47.5%)
CIE-LABlab(38.99, 7.37, -26.04)
CIE-LCHlch(38.99, 27.06, 285.81°)
OKLaboklab(47.67% 0.0022 -0.0728)
OKLCHoklch(47.67% 0.073 271.8)
XYZxyz(11.0998, 10.6527, 24.0210)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A86 #867A4E
analogous
#4E7686 #4E5A86 #5E4E86
triadic
#4E5A86 #864E5A #5A864E
tetradic
#4E5A86 #864E76 #867A4E #4E865E
square
#4E5A86 #864E76 #867A4E #4E865E
split-complementary
#4E5A86 #865E4E #76864E
monochromatic
#212639 #37405F #4E5A86 #6977A8 #909ABE

Accessibility & contrast

On white

6.71
#4E5A86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4E5A86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A86
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A86#FFFFFF#000000##FFFFFF
##4E5A861.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E88
Deuteranopia (green-blind)
#465A85
Tritanopia (blue-blind)
#3C636A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5a86;
/* rgb */ color: rgb(78, 90, 134);
/* oklch */ color: oklch(47.7% 0.073 271.8);
Tailwind
colors: {
  custom: {
    50: '#8288a9',
    500: '#4e5a86',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a86;
$custom-light: #8288a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a86",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 134
  },
  "hsl": {
    "h": 227.143,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47667,
    "c": 0.07287,
    "h": 271.8
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5A86

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

Preview Lab → · Contrast checker → · Palette generator →

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