#4E4E7C#4E4E7C

#4E4E7C is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.5% C 0.075 H 282.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4E4E7C
RGBrgb(78, 78, 124)
HSLhsl(240, 23%, 40%)
HSVhsv(240, 37%, 49%)
CMYKcmyk(37.1%, 37.1%, 0%, 51.4%)
CIE-LABlab(35.05, 12.03, -26.07)
CIE-LCHlch(35.05, 28.71, 294.77°)
OKLaboklab(44.47% 0.0168 -0.0729)
OKLCHoklch(44.47% 0.075 282.9)
XYZxyz(9.5034, 8.5234, 20.2093)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E7C #7C7C4E
analogous
#4E657C #4E4E7C #654E7C
triadic
#4E4E7C #7C4E4E #4E7C4E
tetradic
#4E4E7C #7C4E65 #7C7C4E #4E7C65
square
#4E4E7C #7C4E65 #7C7C4E #4E7C65
split-complementary
#4E4E7C #7C654E #657C4E
monochromatic
#1F1F31 #363656 #4E4E7C #6767A0 #8D8DB7

Accessibility & contrast

On white

7.76
#4E4E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E4E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E7C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E7C#FFFFFF#000000##FFFFFF
##4E4E7C1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547E
Deuteranopia (green-blind)
#3E517B
Tritanopia (blue-blind)
#42575F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4e7c;
/* rgb */ color: rgb(78, 78, 124);
/* oklch */ color: oklch(44.5% 0.075 282.9);
Tailwind
colors: {
  custom: {
    50: '#817fa2',
    500: '#4e4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e7c;
$custom-light: #817fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e7c",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 240,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44467,
    "c": 0.07483,
    "h": 282.9
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#4E4E7C
secondary
#A4A482
accent
#BF69BF
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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