#4E507A#4E507A

#4E507A is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.069 H 281.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4E507A
RGBrgb(78, 80, 122)
HSLhsl(237, 22%, 39%)
HSVhsv(237, 36%, 48%)
CMYKcmyk(36.1%, 34.4%, 0%, 52.2%)
CIE-LABlab(35.52, 10.15, -24.09)
CIE-LCHlch(35.52, 26.14, 292.84°)
OKLaboklab(44.8% 0.0133 -0.0672)
OKLCHoklch(44.8% 0.069 281.2)
XYZxyz(9.5224, 8.7618, 19.5981)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E507A #7A784E
analogous
#4E667A #4E507A #624E7A
triadic
#4E507A #7A4E50 #507A4E
tetradic
#4E507A #7A4E66 #7A784E #4E7A62
square
#4E507A #7A4E66 #7A784E #4E7A62
split-complementary
#4E507A #7A624E #667A4E
monochromatic
#1E1F2F #363855 #4E507A #676A9E #8D8EB6

Accessibility & contrast

On white

7.63
#4E507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E507A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E507A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E507A#FFFFFF#000000##FFFFFF
##4E507A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557C
Deuteranopia (green-blind)
#415279
Tritanopia (blue-blind)
#42585F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e507a;
/* rgb */ color: rgb(78, 80, 122);
/* oklch */ color: oklch(44.8% 0.069 281.2);
Tailwind
colors: {
  custom: {
    50: '#8181a0',
    500: '#4e507a',
    950: '#000000',
  },
}
SCSS
$custom: #4e507a;
$custom-light: #8181a0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e507a",
  "rgb": {
    "r": 78,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 237.273,
    "s": 22,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44797,
    "c": 0.06852,
    "h": 281.2
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#4E507A
secondary
#A3A181
accent
#BB69BF
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E507A

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

Preview Lab → · Contrast checker → · Palette generator →

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