#4E5A84#4E5A84

#4E5A84 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.6% C 0.070 H 271.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4E5A84
RGBrgb(78, 90, 132)
HSLhsl(227, 26%, 41%)
HSVhsv(227, 41%, 52%)
CMYKcmyk(40.9%, 31.8%, 0%, 48.2%)
CIE-LABlab(38.89, 6.77, -24.97)
CIE-LCHlch(38.89, 25.87, 285.16°)
OKLaboklab(47.56% 0.0017 -0.0698)
OKLCHoklch(47.56% 0.07 271.4)
XYZxyz(10.9617, 10.5975, 23.2933)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A84 #84784E
analogous
#4E7584 #4E5A84 #5D4E84
triadic
#4E5A84 #844E5A #5A844E
tetradic
#4E5A84 #844E75 #84784E #4E845D
square
#4E5A84 #844E75 #84784E #4E845D
split-complementary
#4E5A84 #845D4E #75844E
monochromatic
#212637 #37405E #4E5A84 #6977A6 #8F9ABD

Accessibility & contrast

On white

6.73
#4E5A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4E5A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A84
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A84#FFFFFF#000000##FFFFFF
##4E5A841.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E86
Deuteranopia (green-blind)
#475983
Tritanopia (blue-blind)
#3D6269
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5a84;
/* rgb */ color: rgb(78, 90, 132);
/* oklch */ color: oklch(47.6% 0.070 271.4);
Tailwind
colors: {
  custom: {
    50: '#8288a8',
    500: '#4e5a84',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a84;
$custom-light: #8288a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a84",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 132
  },
  "hsl": {
    "h": 226.667,
    "s": 25.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47562,
    "c": 0.06977,
    "h": 271.4
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#4E5A84
secondary
#AAA184
accent
#AE66C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5A84

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

Preview Lab → · Contrast checker → · Palette generator →

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