#4E4985#4E4985

#4E4985 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.9% C 0.097 H 285.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4E4985
RGBrgb(78, 73, 133)
HSLhsl(245, 29%, 40%)
HSVhsv(245, 45%, 52%)
CMYKcmyk(41.4%, 45.1%, 0%, 47.8%)
CIE-LABlab(34.14, 17.97, -33.05)
CIE-LCHlch(34.14, 37.62, 298.54°)
OKLaboklab(43.93% 0.0258 -0.0933)
OKLCHoklch(43.93% 0.097 285.5)
XYZxyz(9.7569, 8.0779, 23.2309)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4985 #808549
analogous
#496285 #4E4985 #6C4985
triadic
#4E4985 #854E49 #49854E
tetradic
#4E4985 #854962 #808549 #49856C
square
#4E4985 #854962 #808549 #49856C
split-complementary
#4E4985 #856C49 #628549
monochromatic
#201E36 #37335D #4E4985 #6862A9 #8E8ABF

Accessibility & contrast

On white

8.03
#4E4985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E4985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4985
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4985#FFFFFF#000000##FFFFFF
##4E49851.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#3E5560
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4985;
/* rgb */ color: rgb(78, 73, 133);
/* oklch */ color: oklch(43.9% 0.097 285.5);
Tailwind
colors: {
  custom: {
    50: '#827ba9',
    500: '#4e4985',
    950: '#000000',
  },
}
SCSS
$custom: #4e4985;
$custom-light: #827ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4985",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 245,
    "s": 29.126,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.09678,
    "h": 285.5
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#4E4985
secondary
#A7AB7F
accent
#C562BD
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4985

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

Preview Lab → · Contrast checker → · Palette generator →

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