#4E528E#4E528E

#4E528E is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.4% C 0.097 H 279.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4E528E
RGBrgb(78, 82, 142)
HSLhsl(236, 29%, 43%)
HSVhsv(236, 45%, 56%)
CMYKcmyk(45.1%, 42.3%, 0%, 44.3%)
CIE-LABlab(37.13, 14.96, -33.83)
CIE-LCHlch(37.13, 36.99, 293.86°)
OKLaboklab(46.37% 0.0152 -0.0955)
OKLCHoklch(46.37% 0.097 279)
XYZxyz(11.0402, 9.6068, 26.8585)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E528E #8E8A4E
analogous
#4E728E #4E528E #6A4E8E
triadic
#4E528E #8E4E52 #528E4E
tetradic
#4E528E #8E4E72 #8E8A4E #4E8E6A
square
#4E528E #8E4E72 #8E8A4E #4E8E6A
split-complementary
#4E528E #8E6A4E #728E4E
monochromatic
#23243F #383B66 #4E528E #6B6FAE #9396C4

Accessibility & contrast

On white

7.19
#4E528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E528E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E528E#FFFFFF#000000##FFFFFF
##4E528E1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#38558D
Tritanopia (blue-blind)
#395E69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e528e;
/* rgb */ color: rgb(78, 82, 142);
/* oklch */ color: oklch(46.4% 0.097 279.0);
Tailwind
colors: {
  custom: {
    50: '#8382af',
    500: '#4e528e',
    950: '#000000',
  },
}
SCSS
$custom: #4e528e;
$custom-light: #8382af;
$custom-dark: #000000;
JSON
{
  "hex": "#4e528e",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 236.25,
    "s": 29.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46369,
    "c": 0.09671,
    "h": 279
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#4E528E
secondary
#B0AE88
accent
#BF62C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E528E

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

Preview Lab → · Contrast checker → · Palette generator →

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