#4E509A#4E509A

#4E509A is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.7% C 0.118 H 279.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4E509A
RGBrgb(78, 80, 154)
HSLhsl(238, 33%, 45%)
HSVhsv(238, 49%, 60%)
CMYKcmyk(49.4%, 48.1%, 0%, 39.6%)
CIE-LABlab(37.28, 20.07, -40.85)
CIE-LCHlch(37.28, 45.51, 296.17°)
OKLaboklab(46.71% 0.0197 -0.1161)
OKLCHoklch(46.71% 0.118 279.6)
XYZxyz(11.8415, 9.6895, 31.8119)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E509A #9A984E
analogous
#4E769A #4E509A #724E9A
triadic
#4E509A #9A4E50 #509A4E
tetradic
#4E509A #9A4E76 #9A984E #4E9A72
square
#4E509A #9A4E76 #9A984E #4E9A72
split-complementary
#4E509A #9A724E #769A4E
monochromatic
#252649 #393B71 #4E509A #6F71B6 #9899CB

Accessibility & contrast

On white

7.15
#4E509A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4E509A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E509A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E509A#FFFFFF#000000##FFFFFF
##4E509A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9D
Deuteranopia (green-blind)
#2A5598
Tritanopia (blue-blind)
#32606D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e509a;
/* rgb */ color: rgb(78, 80, 154);
/* oklch */ color: oklch(46.7% 0.118 279.6);
Tailwind
colors: {
  custom: {
    50: '#8581b8',
    500: '#4e509a',
    950: '#000000',
  },
}
SCSS
$custom: #4e509a;
$custom-light: #8581b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e509a",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 154
  },
  "hsl": {
    "h": 238.421,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46712,
    "c": 0.11773,
    "h": 279.6
  },
  "luminance": 0.0969
}

Semantic roles & 50–950 ramp

primary
#4E509A
secondary
#B7B68D
accent
#C65FC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E509A

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

Preview Lab → · Contrast checker → · Palette generator →

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