#4E529C#4E529C

#4E529C is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.3% C 0.118 H 278.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4E529C
RGBrgb(78, 82, 156)
HSLhsl(237, 33%, 46%)
HSVhsv(237, 50%, 61%)
CMYKcmyk(50%, 47.4%, 0%, 38.8%)
CIE-LABlab(37.94, 19.43, -41.00)
CIE-LCHlch(37.94, 45.37, 295.36°)
OKLaboklab(47.25% 0.0175 -0.1165)
OKLCHoklch(47.25% 0.118 278.5)
XYZxyz(12.1581, 10.0539, 32.7460)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E529C #9C984E
analogous
#4E799C #4E529C #714E9C
triadic
#4E529C #9C4E52 #529C4E
tetradic
#4E529C #9C4E79 #9C984E #4E9C71
square
#4E529C #9C4E79 #9C984E #4E9C71
split-complementary
#4E529C #9C714E #799C4E
monochromatic
#25274A #3A3D73 #4E529C #7073B7 #999BCC

Accessibility & contrast

On white

6.97
#4E529C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E529C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E529C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E529C#FFFFFF#000000##FFFFFF
##4E529C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9F
Deuteranopia (green-blind)
#2C569A
Tritanopia (blue-blind)
#30626F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e529c;
/* rgb */ color: rgb(78, 82, 156);
/* oklch */ color: oklch(47.3% 0.118 278.5);
Tailwind
colors: {
  custom: {
    50: '#8582ba',
    500: '#4e529c',
    950: '#000000',
  },
}
SCSS
$custom: #4e529c;
$custom-light: #8582ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e529c",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 236.923,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.1178,
    "h": 278.5
  },
  "luminance": 0.10055
}

Semantic roles & 50–950 ramp

primary
#4E529C
secondary
#B8B68D
accent
#C45EC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E529C

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

Preview Lab → · Contrast checker → · Palette generator →

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