#4E508D#4E508D

#4E508D is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.9% C 0.098 H 280.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4E508D
RGBrgb(78, 80, 141)
HSLhsl(238, 29%, 43%)
HSVhsv(238, 45%, 55%)
CMYKcmyk(44.7%, 43.3%, 0%, 44.7%)
CIE-LABlab(36.52, 15.93, -34.19)
CIE-LCHlch(36.52, 37.72, 294.99°)
OKLaboklab(45.89% 0.0177 -0.0966)
OKLCHoklch(45.89% 0.098 280.4)
XYZxyz(10.8168, 9.2796, 26.4153)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E508D #8D8B4E
analogous
#4E6F8D #4E508D #6B4E8D
triadic
#4E508D #8D4E50 #508D4E
tetradic
#4E508D #8D4E6F #8D8B4E #4E8D6B
square
#4E508D #8D4E6F #8D8B4E #4E8D6B
split-complementary
#4E508D #8D6B4E #6F8D4E
monochromatic
#22233E #383A66 #4E508D #6B6DAD #9294C3

Accessibility & contrast

On white

7.35
#4E508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E508D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E508D#FFFFFF#000000##FFFFFF
##4E508D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#36548C
Tritanopia (blue-blind)
#3A5C67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e508d;
/* rgb */ color: rgb(78, 80, 141);
/* oklch */ color: oklch(45.9% 0.098 280.4);
Tailwind
colors: {
  custom: {
    50: '#8381ae',
    500: '#4e508d',
    950: '#000000',
  },
}
SCSS
$custom: #4e508d;
$custom-light: #8381ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e508d",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 238.095,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45886,
    "c": 0.09816,
    "h": 280.4
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#4E508D
secondary
#AFAE87
accent
#C263C5
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E508D

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

Preview Lab → · Contrast checker → · Palette generator →

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