#4E4E78#4E4E78

#4E4E78 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.068 H 283.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4E4E78
RGBrgb(78, 78, 120)
HSLhsl(240, 21%, 39%)
HSVhsv(240, 35%, 47%)
CMYKcmyk(35%, 35%, 0%, 52.9%)
CIE-LABlab(34.85, 10.85, -23.90)
CIE-LCHlch(34.85, 26.24, 294.41°)
OKLaboklab(44.25% 0.0157 -0.0667)
OKLCHoklch(44.25% 0.068 283.2)
XYZxyz(9.2555, 8.4243, 18.9040)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E78 #78784E
analogous
#4E6378 #4E4E78 #634E78
triadic
#4E4E78 #784E4E #4E784E
tetradic
#4E4E78 #784E63 #78784E #4E7863
square
#4E4E78 #784E63 #78784E #4E7863
split-complementary
#4E4E78 #78634E #63784E
monochromatic
#1E1E2E #363653 #4E4E78 #67679C #8C8CB4

Accessibility & contrast

On white

7.82
#4E4E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4E4E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E78
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E78#FFFFFF#000000##FFFFFF
##4E4E781.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537A
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#43565D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4e78;
/* rgb */ color: rgb(78, 78, 120);
/* oklch */ color: oklch(44.2% 0.068 283.2);
Tailwind
colors: {
  custom: {
    50: '#817f9f',
    500: '#4e4e78',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e78;
$custom-light: #817f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e78",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 240,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.06848,
    "h": 283.2
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#4E4E78
secondary
#A1A181
accent
#BE6ABE
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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