#4E549F#4E549F

#4E549F is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.9% C 0.119 H 277.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4E549F
RGBrgb(78, 84, 159)
HSLhsl(236, 34%, 46%)
HSVhsv(236, 51%, 62%)
CMYKcmyk(50.9%, 47.2%, 0%, 37.6%)
CIE-LABlab(38.66, 19.13, -41.65)
CIE-LCHlch(38.66, 45.83, 294.67°)
OKLaboklab(47.86% 0.0154 -0.1184)
OKLCHoklch(47.86% 0.119 277.4)
XYZxyz(12.5683, 10.4628, 34.1514)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E549F #9F994E
analogous
#4E7D9F #4E549F #714E9F
triadic
#4E549F #9F4E54 #549F4E
tetradic
#4E549F #9F4E7D #9F994E #4E9F71
square
#4E549F #9F4E7D #9F994E #4E9F71
split-complementary
#4E549F #9F714E #7D9F4E
monochromatic
#26294D #3A3E76 #4E549F #7176B9 #9A9ECD

Accessibility & contrast

On white

6.79
#4E549F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E549F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E549F#FFFFFF#000000##FFFFFF
##4E549F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA2
Deuteranopia (green-blind)
#2C589D
Tritanopia (blue-blind)
#2E6472
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e549f;
/* rgb */ color: rgb(78, 84, 159);
/* oklch */ color: oklch(47.9% 0.119 277.4);
Tailwind
colors: {
  custom: {
    50: '#8584bc',
    500: '#4e549f',
    950: '#000000',
  },
}
SCSS
$custom: #4e549f;
$custom-light: #8584bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e549f",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 235.556,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.11937,
    "h": 277.4
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E549F

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

Preview Lab → · Contrast checker → · Palette generator →

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