#4E488C#4E488C

#4E488C is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.2% C 0.109 H 285.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#4E488C
RGBrgb(78, 72, 140)
HSLhsl(245, 32%, 42%)
HSVhsv(245, 49%, 55%)
CMYKcmyk(44.3%, 48.6%, 0%, 45.1%)
CIE-LABlab(34.29, 20.78, -37.12)
CIE-LCHlch(34.29, 42.54, 299.24°)
OKLaboklab(44.18% 0.0283 -0.1052)
OKLCHoklch(44.18% 0.109 285)
XYZxyz(10.1915, 8.1475, 25.8415)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E488C #868C48
analogous
#48648C #4E488C #70488C
triadic
#4E488C #8C4E48 #488C4E
tetradic
#4E488C #8C4864 #868C48 #488C70
square
#4E488C #8C4864 #868C48 #488C70
split-complementary
#4E488C #8C7048 #648C48
monochromatic
#211E3B #373364 #4E488C #6963AF #908BC3

Accessibility & contrast

On white

7.99
#4E488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E488C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E488C#FFFFFF#000000##FFFFFF
##4E488C1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538E
Deuteranopia (green-blind)
#2B4F8A
Tritanopia (blue-blind)
#3B5663
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e488c;
/* rgb */ color: rgb(78, 72, 140);
/* oklch */ color: oklch(44.2% 0.109 285.0);
Tailwind
colors: {
  custom: {
    50: '#837bae',
    500: '#4e488c',
    950: '#000000',
  },
}
SCSS
$custom: #4e488c;
$custom-light: #837bae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e488c",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 245.294,
    "s": 32.075,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.10892,
    "h": 285
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#4E488C
secondary
#ABAF81
accent
#C860BF
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E488C

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

Preview Lab → · Contrast checker → · Palette generator →

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