#4E519C#4E519C

#4E519C is a mid, moderate blue. Relative luminance 0.099; OKLCH L 47.0% C 0.119 H 279.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4E519C
RGBrgb(78, 81, 156)
HSLhsl(238, 33%, 46%)
HSVhsv(238, 50%, 61%)
CMYKcmyk(50%, 48.1%, 0%, 38.8%)
CIE-LABlab(37.67, 20.08, -41.43)
CIE-LCHlch(37.67, 46.04, 295.85°)
OKLaboklab(47.05% 0.0187 -0.1178)
OKLCHoklch(47.05% 0.119 279)
XYZxyz(12.0832, 9.9042, 32.7210)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E519C #9C994E
analogous
#4E789C #4E519C #724E9C
triadic
#4E519C #9C4E51 #519C4E
tetradic
#4E519C #9C4E78 #9C994E #4E9C72
square
#4E519C #9C4E78 #9C994E #4E9C72
split-complementary
#4E519C #9C724E #789C4E
monochromatic
#25274A #3A3C73 #4E519C #7073B7 #999BCC

Accessibility & contrast

On white

7.04
#4E519C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E519C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E519C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E519C#FFFFFF#000000##FFFFFF
##4E519C1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305C9F
Deuteranopia (green-blind)
#2A569A
Tritanopia (blue-blind)
#30616F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e519c;
/* rgb */ color: rgb(78, 81, 156);
/* oklch */ color: oklch(47.0% 0.119 279.0);
Tailwind
colors: {
  custom: {
    50: '#8581ba',
    500: '#4e519c',
    950: '#000000',
  },
}
SCSS
$custom: #4e519c;
$custom-light: #8581ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e519c",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 237.692,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47047,
    "c": 0.11924,
    "h": 279
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#4E519C
secondary
#B8B78D
accent
#C55EC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E519C

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

Preview Lab → · Contrast checker → · Palette generator →

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