#4E548E#4E548E

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

Color values

HEX#4E548E
RGBrgb(78, 84, 142)
HSLhsl(234, 29%, 43%)
HSVhsv(234, 45%, 56%)
CMYKcmyk(45.1%, 40.8%, 0%, 44.3%)
CIE-LABlab(37.69, 13.68, -32.95)
CIE-LCHlch(37.69, 35.67, 292.54°)
OKLaboklab(46.8% 0.0125 -0.0929)
OKLCHoklch(46.8% 0.094 277.6)
XYZxyz(11.1932, 9.9128, 26.9095)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E548E #8E884E
analogous
#4E748E #4E548E #684E8E
triadic
#4E548E #8E4E54 #548E4E
tetradic
#4E548E #8E4E74 #8E884E #4E8E68
square
#4E548E #8E4E74 #8E884E #4E8E68
split-complementary
#4E548E #8E684E #748E4E
monochromatic
#23253F #383D66 #4E548E #6B72AE #9397C4

Accessibility & contrast

On white

7.04
#4E548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E548E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E548E#FFFFFF#000000##FFFFFF
##4E548E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#39606A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e548e;
/* rgb */ color: rgb(78, 84, 142);
/* oklch */ color: oklch(46.8% 0.094 277.6);
Tailwind
colors: {
  custom: {
    50: '#8384af',
    500: '#4e548e',
    950: '#000000',
  },
}
SCSS
$custom: #4e548e;
$custom-light: #8384af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e548e",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 234.375,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.09375,
    "h": 277.6
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#4E548E
secondary
#B0AC88
accent
#BC62C5
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E548E

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

Preview Lab → · Contrast checker → · Palette generator →

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