#4E5082#4E5082

#4E5082 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.081 H 280.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E5082
RGBrgb(78, 80, 130)
HSLhsl(238, 25%, 41%)
HSVhsv(238, 40%, 51%)
CMYKcmyk(40%, 38.5%, 0%, 49%)
CIE-LABlab(35.92, 12.54, -28.40)
CIE-LCHlch(35.92, 31.04, 293.83°)
OKLaboklab(45.24% 0.0153 -0.0797)
OKLCHoklch(45.24% 0.081 280.9)
XYZxyz(10.0387, 8.9683, 22.3169)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5082 #82804E
analogous
#4E6A82 #4E5082 #664E82
triadic
#4E5082 #824E50 #50824E
tetradic
#4E5082 #824E6A #82804E #4E8266
square
#4E5082 #824E6A #82804E #4E8266
split-complementary
#4E5082 #82664E #6A824E
monochromatic
#202135 #37385C #4E5082 #686BA5 #8F90BC

Accessibility & contrast

On white

7.52
#4E5082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E5082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5082
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5082#FFFFFF#000000##FFFFFF
##4E50821.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#3D5381
Tritanopia (blue-blind)
#3F5A63
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e5082;
/* rgb */ color: rgb(78, 80, 130);
/* oklch */ color: oklch(45.2% 0.081 280.9);
Tailwind
colors: {
  custom: {
    50: '#8281a6',
    500: '#4e5082',
    950: '#000000',
  },
}
SCSS
$custom: #4e5082;
$custom-light: #8281a6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5082",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 237.692,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.08115,
    "h": 280.9
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#4E5082
secondary
#A8A784
accent
#BE66C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E5082

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

Preview Lab → · Contrast checker → · Palette generator →

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