#4E428B#4E428B

#4E428B is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.9% C 0.117 H 288.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4E428B
RGBrgb(78, 66, 139)
HSLhsl(250, 36%, 40%)
HSVhsv(250, 53%, 55%)
CMYKcmyk(43.9%, 52.5%, 0%, 45.5%)
CIE-LABlab(32.66, 24.32, -39.12)
CIE-LCHlch(32.66, 46.06, 301.87°)
OKLaboklab(42.93% 0.0361 -0.1111)
OKLCHoklch(42.93% 0.117 288)
XYZxyz(9.7490, 7.3799, 25.3319)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E428B #7F8B42
analogous
#425A8B #4E428B #72428B
triadic
#4E428B #8B4E42 #428B4E
tetradic
#4E428B #8B425A #7F8B42 #428B72
square
#4E428B #8B425A #7F8B42 #428B72
split-complementary
#4E428B #8B7242 #5A8B42
monochromatic
#1F1B38 #372E62 #4E428B #685AB1 #8E83C4

Accessibility & contrast

On white

8.48
#4E428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E428B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E428B#FFFFFF#000000##FFFFFF
##4E428B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8E
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#3C5160
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e428b;
/* rgb */ color: rgb(78, 66, 139);
/* oklch */ color: oklch(42.9% 0.117 288.0);
Tailwind
colors: {
  custom: {
    50: '#8376ad',
    500: '#4e428b',
    950: '#000000',
  },
}
SCSS
$custom: #4e428b;
$custom-light: #8376ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e428b",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 249.863,
    "s": 35.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42932,
    "c": 0.11678,
    "h": 288
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#4E428B
secondary
#A6AF7A
accent
#CC5CB9
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E428B

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

Preview Lab → · Contrast checker → · Palette generator →

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