#4E529D#4E529D

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

Color values

HEX#4E529D
RGBrgb(78, 82, 157)
HSLhsl(237, 34%, 46%)
HSVhsv(237, 50%, 62%)
CMYKcmyk(50.3%, 47.8%, 0%, 38.4%)
CIE-LABlab(38.00, 19.76, -41.50)
CIE-LCHlch(38.00, 45.97, 295.46°)
OKLaboklab(47.32% 0.0176 -0.118)
OKLCHoklch(47.32% 0.119 278.5)
XYZxyz(12.2431, 10.0879, 33.1938)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E529D #9D994E
analogous
#4E799D #4E529D #714E9D
triadic
#4E529D #9D4E52 #529D4E
tetradic
#4E529D #9D4E79 #9D994E #4E9D71
square
#4E529D #9D4E79 #9D994E #4E9D71
split-complementary
#4E529D #9D714E #799D4E
monochromatic
#25274B #3A3D74 #4E529D #7074B8 #999CCC

Accessibility & contrast

On white

6.96
#4E529D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4E529D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E529D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E529D#FFFFFF#000000##FFFFFF
##4E529D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA0
Deuteranopia (green-blind)
#2B569B
Tritanopia (blue-blind)
#2F6270
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e529d;
/* rgb */ color: rgb(78, 82, 157);
/* oklch */ color: oklch(47.3% 0.119 278.5);
Tailwind
colors: {
  custom: {
    50: '#8582ba',
    500: '#4e529d',
    950: '#000000',
  },
}
SCSS
$custom: #4e529d;
$custom-light: #8582ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e529d",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 236.962,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47316,
    "c": 0.11928,
    "h": 278.5
  },
  "luminance": 0.10089
}

Semantic roles & 50–950 ramp

primary
#4E529D
secondary
#B9B78E
accent
#C45ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E529D

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

Preview Lab → · Contrast checker → · Palette generator →

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