#4E548B#4E548B

#4E548B is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.6% C 0.089 H 277.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4E548B
RGBrgb(78, 84, 139)
HSLhsl(234, 28%, 43%)
HSVhsv(234, 44%, 55%)
CMYKcmyk(43.9%, 39.6%, 0%, 45.5%)
CIE-LABlab(37.52, 12.74, -31.38)
CIE-LCHlch(37.52, 33.87, 292.09°)
OKLaboklab(46.62% 0.0118 -0.0883)
OKLCHoklch(46.62% 0.089 277.6)
XYZxyz(10.9710, 9.8239, 25.7392)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E548B #8B854E
analogous
#4E738B #4E548B #664E8B
triadic
#4E548B #8B4E54 #548B4E
tetradic
#4E548B #8B4E73 #8B854E #4E8B66
square
#4E548B #8B4E73 #8B854E #4E8B66
split-complementary
#4E548B #8B664E #738B4E
monochromatic
#22253D #383C64 #4E548B #6B71AC #9296C2

Accessibility & contrast

On white

7.08
#4E548B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4E548B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E548B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E548B#FFFFFF#000000##FFFFFF
##4E548B1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#3A5F69
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e548b;
/* rgb */ color: rgb(78, 84, 139);
/* oklch */ color: oklch(46.6% 0.089 277.6);
Tailwind
colors: {
  custom: {
    50: '#8384ad',
    500: '#4e548b',
    950: '#000000',
  },
}
SCSS
$custom: #4e548b;
$custom-light: #8384ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e548b",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 234.098,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4662,
    "c": 0.08914,
    "h": 277.6
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#4E548B
secondary
#AEAA87
accent
#BB63C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E548B

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

Preview Lab → · Contrast checker → · Palette generator →

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