#4E548D#4E548D

#4E548D is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.7% C 0.092 H 277.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4E548D
RGBrgb(78, 84, 141)
HSLhsl(234, 29%, 43%)
HSVhsv(234, 45%, 55%)
CMYKcmyk(44.7%, 40.4%, 0%, 44.7%)
CIE-LABlab(37.63, 13.36, -32.43)
CIE-LCHlch(37.63, 35.07, 292.40°)
OKLaboklab(46.74% 0.0123 -0.0914)
OKLCHoklch(46.74% 0.092 277.6)
XYZxyz(11.1185, 9.8829, 26.5159)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E548D #8D874E
analogous
#4E738D #4E548D #674E8D
triadic
#4E548D #8D4E54 #548D4E
tetradic
#4E548D #8D4E73 #8D874E #4E8D67
square
#4E548D #8D4E73 #8D874E #4E8D67
split-complementary
#4E548D #8D674E #738D4E
monochromatic
#22253E #383D66 #4E548D #6B71AD #9297C3

Accessibility & contrast

On white

7.06
#4E548D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E548D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E548D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E548D#FFFFFF#000000##FFFFFF
##4E548D1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#396069
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e548d;
/* rgb */ color: rgb(78, 84, 141);
/* oklch */ color: oklch(46.7% 0.092 277.6);
Tailwind
colors: {
  custom: {
    50: '#8384ae',
    500: '#4e548d',
    950: '#000000',
  },
}
SCSS
$custom: #4e548d;
$custom-light: #8384ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e548d",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 234.286,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46737,
    "c": 0.09222,
    "h": 277.6
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#4E548D
secondary
#AFAC87
accent
#BC63C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E548D

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

Preview Lab → · Contrast checker → · Palette generator →

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