#4E509B#4E509B

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

Color values

HEX#4E509B
RGBrgb(78, 80, 155)
HSLhsl(238, 33%, 46%)
HSVhsv(238, 50%, 61%)
CMYKcmyk(49.7%, 48.4%, 0%, 39.2%)
CIE-LABlab(37.34, 20.39, -41.35)
CIE-LCHlch(37.34, 46.11, 296.25°)
OKLaboklab(46.78% 0.0198 -0.1175)
OKLCHoklch(46.78% 0.119 279.6)
XYZxyz(11.9251, 9.7229, 32.2523)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E509B #9B994E
analogous
#4E769B #4E509B #724E9B
triadic
#4E509B #9B4E50 #509B4E
tetradic
#4E509B #9B4E76 #9B994E #4E9B72
square
#4E509B #9B4E76 #9B994E #4E9B72
split-complementary
#4E509B #9B724E #769B4E
monochromatic
#25264A #3A3B72 #4E509B #6F71B7 #9899CB

Accessibility & contrast

On white

7.13
#4E509B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E509B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E509B#FFFFFF#000000##FFFFFF
##4E509B1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#295599
Tritanopia (blue-blind)
#31606E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e509b;
/* rgb */ color: rgb(78, 80, 155);
/* oklch */ color: oklch(46.8% 0.119 279.6);
Tailwind
colors: {
  custom: {
    50: '#8581b9',
    500: '#4e509b',
    950: '#000000',
  },
}
SCSS
$custom: #4e509b;
$custom-light: #8581b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e509b",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 238.442,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.11921,
    "h": 279.6
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E509B

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

Preview Lab → · Contrast checker → · Palette generator →

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