#4E488D#4E488D

#4E488D is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.2% C 0.110 H 284.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4E488D
RGBrgb(78, 72, 141)
HSLhsl(245, 32%, 42%)
HSVhsv(245, 49%, 55%)
CMYKcmyk(44.7%, 48.9%, 0%, 44.7%)
CIE-LABlab(34.35, 21.09, -37.64)
CIE-LCHlch(34.35, 43.15, 299.27°)
OKLaboklab(44.24% 0.0284 -0.1067)
OKLCHoklch(44.24% 0.11 284.9)
XYZxyz(10.2656, 8.1771, 26.2316)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E488D #878D48
analogous
#48658D #4E488D #71488D
triadic
#4E488D #8D4E48 #488D4E
tetradic
#4E488D #8D4865 #878D48 #488D71
square
#4E488D #8D4865 #878D48 #488D71
split-complementary
#4E488D #8D7148 #658D48
monochromatic
#211F3C #383364 #4E488D #6A63AF #908BC4

Accessibility & contrast

On white

7.97
#4E488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E488D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E488D#FFFFFF#000000##FFFFFF
##4E488D1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#2A4F8B
Tritanopia (blue-blind)
#3B5664
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e488d;
/* rgb */ color: rgb(78, 72, 141);
/* oklch */ color: oklch(44.2% 0.110 284.9);
Tailwind
colors: {
  custom: {
    50: '#837baf',
    500: '#4e488d',
    950: '#000000',
  },
}
SCSS
$custom: #4e488d;
$custom-light: #837baf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e488d",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 245.217,
    "s": 32.394,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44242,
    "c": 0.11041,
    "h": 284.9
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#4E488D
secondary
#ACB081
accent
#C95FBF
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E488D

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

Preview Lab → · Contrast checker → · Palette generator →

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