#4E528B#4E528B

#4E528B is a mid, moderate blue. Relative luminance 0.095; OKLCH L 46.2% C 0.092 H 279.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4E528B
RGBrgb(78, 82, 139)
HSLhsl(236, 28%, 43%)
HSVhsv(236, 44%, 55%)
CMYKcmyk(43.9%, 41%, 0%, 45.5%)
CIE-LABlab(36.96, 14.02, -32.27)
CIE-LCHlch(36.96, 35.18, 293.49°)
OKLaboklab(46.19% 0.0146 -0.0909)
OKLCHoklch(46.19% 0.092 279.1)
XYZxyz(10.8180, 9.5179, 25.6882)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E528B #8B874E
analogous
#4E708B #4E528B #694E8B
triadic
#4E528B #8B4E52 #528B4E
tetradic
#4E528B #8B4E70 #8B874E #4E8B69
square
#4E528B #8B4E70 #8B874E #4E8B69
split-complementary
#4E528B #8B694E #708B4E
monochromatic
#22243D #383B64 #4E528B #6B6FAC #9295C2

Accessibility & contrast

On white

7.23
#4E528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E528B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E528B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E528B#FFFFFF#000000##FFFFFF
##4E528B1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598D
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#3A5D68
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e528b;
/* rgb */ color: rgb(78, 82, 139);
/* oklch */ color: oklch(46.2% 0.092 279.1);
Tailwind
colors: {
  custom: {
    50: '#8382ad',
    500: '#4e528b',
    950: '#000000',
  },
}
SCSS
$custom: #4e528b;
$custom-light: #8382ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e528b",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 236.066,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.0921,
    "h": 279.1
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#4E528B
secondary
#AEAC87
accent
#BE63C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E528B

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

Preview Lab → · Contrast checker → · Palette generator →

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