#4E519E#4E519E

#4E519E is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.2% C 0.122 H 278.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4E519E
RGBrgb(78, 81, 158)
HSLhsl(238, 34%, 46%)
HSVhsv(238, 51%, 62%)
CMYKcmyk(50.6%, 48.7%, 0%, 38%)
CIE-LABlab(37.79, 20.72, -42.43)
CIE-LCHlch(37.79, 47.22, 296.03°)
OKLaboklab(47.18% 0.019 -0.1207)
OKLCHoklch(47.18% 0.122 278.9)
XYZxyz(12.2540, 9.9725, 33.6203)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E519E #9E9B4E
analogous
#4E799E #4E519E #734E9E
triadic
#4E519E #9E4E51 #519E4E
tetradic
#4E519E #9E4E79 #9E9B4E #4E9E73
square
#4E519E #9E4E79 #9E9B4E #4E9E73
split-complementary
#4E519E #9E734E #799E4E
monochromatic
#26274C #3A3C75 #4E519E #7173B9 #9A9BCD

Accessibility & contrast

On white

7.01
#4E519E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4E519E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E519E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E519E#FFFFFF#000000##FFFFFF
##4E519E1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#28569C
Tritanopia (blue-blind)
#2F6270
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e519e;
/* rgb */ color: rgb(78, 81, 158);
/* oklch */ color: oklch(47.2% 0.122 278.9);
Tailwind
colors: {
  custom: {
    50: '#8581bb',
    500: '#4e519e',
    950: '#000000',
  },
}
SCSS
$custom: #4e519e;
$custom-light: #8581bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e519e",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 237.75,
    "s": 33.898,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4718,
    "c": 0.12219,
    "h": 278.9
  },
  "luminance": 0.09973
}

Semantic roles & 50–950 ramp

primary
#4E519E
secondary
#BAB88E
accent
#C65ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E519E

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

Preview Lab → · Contrast checker → · Palette generator →

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