#4E529A#4E529A

#4E529A is a mid, moderate blue. Relative luminance 0.100; OKLCH L 47.1% C 0.115 H 278.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4E529A
RGBrgb(78, 82, 154)
HSLhsl(237, 33%, 45%)
HSVhsv(237, 49%, 60%)
CMYKcmyk(49.4%, 46.8%, 0%, 39.6%)
CIE-LABlab(37.82, 18.79, -39.99)
CIE-LCHlch(37.82, 44.18, 295.16°)
OKLaboklab(47.12% 0.0172 -0.1135)
OKLCHoklch(47.12% 0.115 278.6)
XYZxyz(11.9901, 9.9867, 31.8614)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E529A #9A964E
analogous
#4E789A #4E529A #704E9A
triadic
#4E529A #9A4E52 #529A4E
tetradic
#4E529A #9A4E78 #9A964E #4E9A70
square
#4E529A #9A4E78 #9A964E #4E9A70
split-complementary
#4E529A #9A704E #789A4E
monochromatic
#252749 #393C71 #4E529A #6F73B6 #989ACB

Accessibility & contrast

On white

7.01
#4E529A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E529A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E529A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E529A#FFFFFF#000000##FFFFFF
##4E529A1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#2E5698
Tritanopia (blue-blind)
#32616E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e529a;
/* rgb */ color: rgb(78, 82, 154);
/* oklch */ color: oklch(47.1% 0.115 278.6);
Tailwind
colors: {
  custom: {
    50: '#8482b8',
    500: '#4e529a',
    950: '#000000',
  },
}
SCSS
$custom: #4e529a;
$custom-light: #8482b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e529a",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 154
  },
  "hsl": {
    "h": 236.842,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4712,
    "c": 0.11483,
    "h": 278.6
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#4E529A
secondary
#B7B58D
accent
#C35FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E529A

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

Preview Lab → · Contrast checker → · Palette generator →

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