#4E509D#4E509D

#4E509D is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.122 H 279.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4E509D
RGBrgb(78, 80, 157)
HSLhsl(238, 34%, 46%)
HSVhsv(238, 50%, 62%)
CMYKcmyk(50.3%, 49%, 0%, 38.4%)
CIE-LABlab(37.46, 21.04, -42.36)
CIE-LCHlch(37.46, 47.30, 296.41°)
OKLaboklab(46.91% 0.0201 -0.1205)
OKLCHoklch(46.91% 0.122 279.5)
XYZxyz(12.0945, 9.7907, 33.1442)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E509D #9D9B4E
analogous
#4E779D #4E509D #734E9D
triadic
#4E509D #9D4E50 #509D4E
tetradic
#4E509D #9D4E77 #9D9B4E #4E9D73
square
#4E509D #9D4E77 #9D9B4E #4E9D73
split-complementary
#4E509D #9D734E #779D4E
monochromatic
#25264B #3A3B74 #4E509D #7072B8 #999ACC

Accessibility & contrast

On white

7.10
#4E509D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4E509D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E509D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E509D#FFFFFF#000000##FFFFFF
##4E509D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5BA0
Deuteranopia (green-blind)
#27559B
Tritanopia (blue-blind)
#30616F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e509d;
/* rgb */ color: rgb(78, 80, 157);
/* oklch */ color: oklch(46.9% 0.122 279.5);
Tailwind
colors: {
  custom: {
    50: '#8581ba',
    500: '#4e509d',
    950: '#000000',
  },
}
SCSS
$custom: #4e509d;
$custom-light: #8581ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e509d",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 238.481,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46911,
    "c": 0.12216,
    "h": 279.5
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#4E509D
secondary
#B9B88E
accent
#C75ECA
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4E509D

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

Preview Lab → · Contrast checker → · Palette generator →

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