#4E549E#4E549E

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

Color values

HEX#4E549E
RGBrgb(78, 84, 158)
HSLhsl(236, 34%, 46%)
HSVhsv(236, 51%, 62%)
CMYKcmyk(50.6%, 46.8%, 0%, 38%)
CIE-LABlab(38.60, 18.80, -41.14)
CIE-LCHlch(38.60, 45.23, 294.56°)
OKLaboklab(47.79% 0.0153 -0.1169)
OKLCHoklch(47.79% 0.118 277.5)
XYZxyz(12.4818, 10.4282, 33.6963)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E549E #9E984E
analogous
#4E7C9E #4E549E #704E9E
triadic
#4E549E #9E4E54 #549E4E
tetradic
#4E549E #9E4E7C #9E984E #4E9E70
square
#4E549E #9E4E7C #9E984E #4E9E70
split-complementary
#4E549E #9E704E #7C9E4E
monochromatic
#26284C #3A3E75 #4E549E #7176B9 #9A9DCD

Accessibility & contrast

On white

6.81
#4E549E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E549E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E549E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E549E#FFFFFF#000000##FFFFFF
##4E549E1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#2D589C
Tritanopia (blue-blind)
#2E6471
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e549e;
/* rgb */ color: rgb(78, 84, 158);
/* oklch */ color: oklch(47.8% 0.118 277.5);
Tailwind
colors: {
  custom: {
    50: '#8584bb',
    500: '#4e549e',
    950: '#000000',
  },
}
SCSS
$custom: #4e549e;
$custom-light: #8584bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e549e",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 158
  },
  "hsl": {
    "h": 235.5,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47791,
    "c": 0.1179,
    "h": 277.5
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E549E

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

Preview Lab → · Contrast checker → · Palette generator →

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