#4E548F#4E548F

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

Color values

HEX#4E548F
RGBrgb(78, 84, 143)
HSLhsl(234, 29%, 43%)
HSVhsv(234, 45%, 56%)
CMYKcmyk(45.5%, 41.3%, 0%, 43.9%)
CIE-LABlab(37.74, 13.99, -33.47)
CIE-LCHlch(37.74, 36.28, 292.69°)
OKLaboklab(46.86% 0.0127 -0.0944)
OKLCHoklch(46.86% 0.095 277.6)
XYZxyz(11.2686, 9.9430, 27.3067)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E548F #8F894E
analogous
#4E748F #4E548F #684E8F
triadic
#4E548F #8F4E54 #548F4E
tetradic
#4E548F #8F4E74 #8F894E #4E8F68
square
#4E548F #8F4E74 #8F894E #4E8F68
split-complementary
#4E548F #8F684E #748F4E
monochromatic
#232540 #383D67 #4E548F #6C72AF #9398C4

Accessibility & contrast

On white

7.03
#4E548F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E548F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E548F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E548F#FFFFFF#000000##FFFFFF
##4E548F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#3A568E
Tritanopia (blue-blind)
#38606A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e548f;
/* rgb */ color: rgb(78, 84, 143);
/* oklch */ color: oklch(46.9% 0.095 277.6);
Tailwind
colors: {
  custom: {
    50: '#8384b0',
    500: '#4e548f',
    950: '#000000',
  },
}
SCSS
$custom: #4e548f;
$custom-light: #8384b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e548f",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 234.462,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46856,
    "c": 0.09529,
    "h": 277.6
  },
  "luminance": 0.09944
}

Semantic roles & 50–950 ramp

primary
#4E548F
secondary
#B1AD88
accent
#BC62C6
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E548F

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

Preview Lab → · Contrast checker → · Palette generator →

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