#4E519F#4E519F

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

Color values

HEX#4E519F
RGBrgb(78, 81, 159)
HSLhsl(238, 34%, 46%)
HSVhsv(238, 51%, 62%)
CMYKcmyk(50.9%, 49.1%, 0%, 37.6%)
CIE-LABlab(37.86, 21.05, -42.93)
CIE-LCHlch(37.86, 47.81, 296.12°)
OKLaboklab(47.25% 0.0191 -0.1222)
OKLCHoklch(47.25% 0.124 278.9)
XYZxyz(12.3404, 10.0071, 34.0755)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E519F #9F9C4E
analogous
#4E7A9F #4E519F #744E9F
triadic
#4E519F #9F4E51 #519F4E
tetradic
#4E519F #9F4E7A #9F9C4E #4E9F74
square
#4E519F #9F4E7A #9F9C4E #4E9F74
split-complementary
#4E519F #9F744E #7A9F4E
monochromatic
#26274D #3A3C76 #4E519F #7174B9 #9A9CCD

Accessibility & contrast

On white

7.00
#4E519F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4E519F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E519F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E519F#FFFFFF#000000##FFFFFF
##4E519F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#26569D
Tritanopia (blue-blind)
#2E6270
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e519f;
/* rgb */ color: rgb(78, 81, 159);
/* oklch */ color: oklch(47.2% 0.124 278.9);
Tailwind
colors: {
  custom: {
    50: '#8581bc',
    500: '#4e519f',
    950: '#000000',
  },
}
SCSS
$custom: #4e519f;
$custom-light: #8581bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e519f",
  "rgb": {
    "r": 78,
    "g": 81,
    "b": 159
  },
  "hsl": {
    "h": 237.778,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.12366,
    "h": 278.9
  },
  "luminance": 0.10008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E519F

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

Preview Lab → · Contrast checker → · Palette generator →

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