#4E508A#4E508A

#4E508A is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.7% C 0.094 H 280.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4E508A
RGBrgb(78, 80, 138)
HSLhsl(238, 28%, 42%)
HSVhsv(238, 43%, 54%)
CMYKcmyk(43.5%, 42%, 0%, 45.9%)
CIE-LABlab(36.35, 15.00, -32.62)
CIE-LCHlch(36.35, 35.91, 294.69°)
OKLaboklab(45.7% 0.0171 -0.092)
OKLCHoklch(45.7% 0.094 280.5)
XYZxyz(10.5966, 9.1915, 25.2556)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E508A #8A884E
analogous
#4E6E8A #4E508A #6A4E8A
triadic
#4E508A #8A4E50 #508A4E
tetradic
#4E508A #8A4E6E #8A884E #4E8A6A
square
#4E508A #8A4E6E #8A884E #4E8A6A
split-complementary
#4E508A #8A6A4E #6E8A4E
monochromatic
#22233C #383963 #4E508A #6A6CAB #9193C1

Accessibility & contrast

On white

7.40
#4E508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E508A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E508A#FFFFFF#000000##FFFFFF
##4E508A1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#385389
Tritanopia (blue-blind)
#3B5C66
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e508a;
/* rgb */ color: rgb(78, 80, 138);
/* oklch */ color: oklch(45.7% 0.094 280.5);
Tailwind
colors: {
  custom: {
    50: '#8381ac',
    500: '#4e508a',
    950: '#000000',
  },
}
SCSS
$custom: #4e508a;
$custom-light: #8381ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e508a",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 238,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45704,
    "c": 0.09356,
    "h": 280.5
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#4E508A
secondary
#AEAC86
accent
#C164C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E508A

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

Preview Lab → · Contrast checker → · Palette generator →

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