#4E528D#4E528D

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

Color values

HEX#4E528D
RGBrgb(78, 82, 141)
HSLhsl(236, 29%, 43%)
HSVhsv(236, 45%, 55%)
CMYKcmyk(44.7%, 41.8%, 0%, 44.7%)
CIE-LABlab(37.07, 14.65, -33.31)
CIE-LCHlch(37.07, 36.39, 293.74°)
OKLaboklab(46.31% 0.015 -0.094)
OKLCHoklch(46.31% 0.095 279)
XYZxyz(10.9655, 9.5769, 26.4649)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E528D #8D894E
analogous
#4E728D #4E528D #694E8D
triadic
#4E528D #8D4E52 #528D4E
tetradic
#4E528D #8D4E72 #8D894E #4E8D69
square
#4E528D #8D4E72 #8D894E #4E8D69
split-complementary
#4E528D #8D694E #728D4E
monochromatic
#22243E #383B66 #4E528D #6B6FAD #9296C3

Accessibility & contrast

On white

7.20
#4E528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E528D
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E528D#FFFFFF#000000##FFFFFF
##4E528D1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A8F
Deuteranopia (green-blind)
#38558C
Tritanopia (blue-blind)
#395E68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e528d;
/* rgb */ color: rgb(78, 82, 141);
/* oklch */ color: oklch(46.3% 0.095 279.0);
Tailwind
colors: {
  custom: {
    50: '#8382ae',
    500: '#4e528d',
    950: '#000000',
  },
}
SCSS
$custom: #4e528d;
$custom-light: #8382ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e528d",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 236.19,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46309,
    "c": 0.09517,
    "h": 279
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#4E528D
secondary
#AFAD87
accent
#BF63C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E528D

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

Preview Lab → · Contrast checker → · Palette generator →

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