#4E5A82#4E5A82

#4E5A82 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.5% C 0.067 H 270.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4E5A82
RGBrgb(78, 90, 130)
HSLhsl(226, 25%, 41%)
HSVhsv(226, 40%, 51%)
CMYKcmyk(40%, 30.8%, 0%, 49%)
CIE-LABlab(38.80, 6.16, -23.90)
CIE-LCHlch(38.80, 24.68, 284.46°)
OKLaboklab(47.46% 0.0011 -0.0667)
OKLCHoklch(47.46% 0.067 270.9)
XYZxyz(10.8261, 10.5432, 22.5794)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A82 #82764E
analogous
#4E7482 #4E5A82 #5C4E82
triadic
#4E5A82 #824E5A #5A824E
tetradic
#4E5A82 #824E74 #82764E #4E825C
square
#4E5A82 #824E74 #82764E #4E825C
split-complementary
#4E5A82 #825C4E #74824E
monochromatic
#202535 #37405C #4E5A82 #6876A5 #8F99BC

Accessibility & contrast

On white

6.76
#4E5A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E5A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A82
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A82#FFFFFF#000000##FFFFFF
##4E5A821.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E84
Deuteranopia (green-blind)
#485981
Tritanopia (blue-blind)
#3E6268
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5a82;
/* rgb */ color: rgb(78, 90, 130);
/* oklch */ color: oklch(47.5% 0.067 270.9);
Tailwind
colors: {
  custom: {
    50: '#8188a6',
    500: '#4e5a82',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a82;
$custom-light: #8188a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a82",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 130
  },
  "hsl": {
    "h": 226.154,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.06667,
    "h": 270.9
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#4E5A82
secondary
#A8A084
accent
#AC66C1
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5A82

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

Preview Lab → · Contrast checker → · Palette generator →

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