#4E548A#4E548A

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

Color values

HEX#4E548A
RGBrgb(78, 84, 138)
HSLhsl(234, 28%, 42%)
HSVhsv(234, 43%, 54%)
CMYKcmyk(43.5%, 39.1%, 0%, 45.9%)
CIE-LABlab(37.47, 12.43, -30.85)
CIE-LCHlch(37.47, 33.26, 291.94°)
OKLaboklab(46.56% 0.0116 -0.0868)
OKLCHoklch(46.56% 0.088 277.6)
XYZxyz(10.8983, 9.7948, 25.3562)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E548A #8A844E
analogous
#4E728A #4E548A #664E8A
triadic
#4E548A #8A4E54 #548A4E
tetradic
#4E548A #8A4E72 #8A844E #4E8A66
square
#4E548A #8A4E72 #8A844E #4E8A66
split-complementary
#4E548A #8A664E #728A4E
monochromatic
#22243C #383C63 #4E548A #6A71AB #9196C1

Accessibility & contrast

On white

7.10
#4E548A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E548A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E548A#FFFFFF#000000##FFFFFF
##4E548A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#3B5F68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e548a;
/* rgb */ color: rgb(78, 84, 138);
/* oklch */ color: oklch(46.6% 0.088 277.6);
Tailwind
colors: {
  custom: {
    50: '#8284ac',
    500: '#4e548a',
    950: '#000000',
  },
}
SCSS
$custom: #4e548a;
$custom-light: #8284ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e548a",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 234,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.08759,
    "h": 277.6
  },
  "luminance": 0.09795
}

Semantic roles & 50–950 ramp

primary
#4E548A
secondary
#AEAA86
accent
#BA64C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E548A

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

Preview Lab → · Contrast checker → · Palette generator →

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