#4E549D#4E549D

#4E549D is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.7% C 0.116 H 277.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4E549D
RGBrgb(78, 84, 157)
HSLhsl(235, 34%, 46%)
HSVhsv(235, 50%, 62%)
CMYKcmyk(50.3%, 46.5%, 0%, 38.4%)
CIE-LABlab(38.54, 18.47, -40.64)
CIE-LCHlch(38.54, 44.64, 294.45°)
OKLaboklab(47.73% 0.0152 -0.1154)
OKLCHoklch(47.73% 0.116 277.5)
XYZxyz(12.3961, 10.3940, 33.2448)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E549D #9D974E
analogous
#4E7B9D #4E549D #6F4E9D
triadic
#4E549D #9D4E54 #549D4E
tetradic
#4E549D #9D4E7B #9D974E #4E9D6F
square
#4E549D #9D4E7B #9D974E #4E9D6F
split-complementary
#4E549D #9D6F4E #7B9D4E
monochromatic
#25284B #3A3E74 #4E549D #7076B8 #999DCC

Accessibility & contrast

On white

6.82
#4E549D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E549D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E549D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E549D#FFFFFF#000000##FFFFFF
##4E549D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355EA0
Deuteranopia (green-blind)
#2E589B
Tritanopia (blue-blind)
#2F6471
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e549d;
/* rgb */ color: rgb(78, 84, 157);
/* oklch */ color: oklch(47.7% 0.116 277.5);
Tailwind
colors: {
  custom: {
    50: '#8584ba',
    500: '#4e549d',
    950: '#000000',
  },
}
SCSS
$custom: #4e549d;
$custom-light: #8584ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e549d",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 235.443,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.11641,
    "h": 277.5
  },
  "luminance": 0.10395
}

Semantic roles & 50–950 ramp

primary
#4E549D
secondary
#B9B68E
accent
#C25ECA
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E549D

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

Preview Lab → · Contrast checker → · Palette generator →

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