#4E528A#4E528A

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

Color values

HEX#4E528A
RGBrgb(78, 82, 138)
HSLhsl(236, 28%, 42%)
HSVhsv(236, 43%, 54%)
CMYKcmyk(43.5%, 40.6%, 0%, 45.9%)
CIE-LABlab(36.91, 13.71, -31.74)
CIE-LCHlch(36.91, 34.58, 293.36°)
OKLaboklab(46.13% 0.0143 -0.0894)
OKLCHoklch(46.13% 0.091 279.1)
XYZxyz(10.7453, 9.4888, 25.3052)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E528A #8A864E
analogous
#4E708A #4E528A #684E8A
triadic
#4E528A #8A4E52 #528A4E
tetradic
#4E528A #8A4E70 #8A864E #4E8A68
square
#4E528A #8A4E70 #8A864E #4E8A68
split-complementary
#4E528A #8A684E #708A4E
monochromatic
#22243C #383B63 #4E528A #6A6FAB #9195C1

Accessibility & contrast

On white

7.25
#4E528A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E528A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E528A#FFFFFF#000000##FFFFFF
##4E528A1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#3B5D67
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e528a;
/* rgb */ color: rgb(78, 82, 138);
/* oklch */ color: oklch(46.1% 0.091 279.1);
Tailwind
colors: {
  custom: {
    50: '#8282ac',
    500: '#4e528a',
    950: '#000000',
  },
}
SCSS
$custom: #4e528a;
$custom-light: #8282ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e528a",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 236,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46131,
    "c": 0.09055,
    "h": 279.1
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#4E528A
secondary
#AEAB86
accent
#BE64C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E528A

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

Preview Lab → · Contrast checker → · Palette generator →

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