#4E548C#4E548C

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

Color values

HEX#4E548C
RGBrgb(78, 84, 140)
HSLhsl(234, 28%, 43%)
HSVhsv(234, 44%, 55%)
CMYKcmyk(44.3%, 40%, 0%, 45.1%)
CIE-LABlab(37.58, 13.05, -31.90)
CIE-LCHlch(37.58, 34.47, 292.25°)
OKLaboklab(46.68% 0.012 -0.0899)
OKLCHoklch(46.68% 0.091 277.6)
XYZxyz(11.0444, 9.8533, 26.1258)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E548C #8C864E
analogous
#4E738C #4E548C #674E8C
triadic
#4E548C #8C4E54 #548C4E
tetradic
#4E548C #8C4E73 #8C864E #4E8C67
square
#4E548C #8C4E73 #8C864E #4E8C67
split-complementary
#4E548C #8C674E #738C4E
monochromatic
#22253D #383C65 #4E548C #6B71AC #9297C2

Accessibility & contrast

On white

7.07
#4E548C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E548C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E548C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E548C#FFFFFF#000000##FFFFFF
##4E548C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e548c;
/* rgb */ color: rgb(78, 84, 140);
/* oklch */ color: oklch(46.7% 0.091 277.6);
Tailwind
colors: {
  custom: {
    50: '#8384ae',
    500: '#4e548c',
    950: '#000000',
  },
}
SCSS
$custom: #4e548c;
$custom-light: #8384ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e548c",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 234.194,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.09068,
    "h": 277.6
  },
  "luminance": 0.09854
}

Semantic roles & 50–950 ramp

primary
#4E548C
secondary
#AFAB87
accent
#BB63C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E548C

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

Preview Lab → · Contrast checker → · Palette generator →

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