#4E4F78#4E4F78

#4E4F78 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.5% C 0.067 H 282.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#4E4F78
RGBrgb(78, 79, 120)
HSLhsl(239, 21%, 39%)
HSVhsv(239, 35%, 47%)
CMYKcmyk(35%, 34.2%, 0%, 52.9%)
CIE-LABlab(35.14, 10.20, -23.45)
CIE-LCHlch(35.14, 25.58, 293.51°)
OKLaboklab(44.47% 0.0142 -0.0654)
OKLCHoklch(44.47% 0.067 282.2)
XYZxyz(9.3271, 8.5674, 18.9279)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F78 #78774E
analogous
#4E6478 #4E4F78 #624E78
triadic
#4E4F78 #784E4F #4F784E
tetradic
#4E4F78 #784E64 #78774E #4E7862
square
#4E4F78 #784E64 #78774E #4E7862
split-complementary
#4E4F78 #78624E #64784E
monochromatic
#1E1E2E #363753 #4E4F78 #67689C #8C8DB4

Accessibility & contrast

On white

7.74
#4E4F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4E4F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F78
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F78#FFFFFF#000000##FFFFFF
##4E4F781.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43547A
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#43575E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4f78;
/* rgb */ color: rgb(78, 79, 120);
/* oklch */ color: oklch(44.5% 0.067 282.2);
Tailwind
colors: {
  custom: {
    50: '#81809f',
    500: '#4e4f78',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f78;
$custom-light: #81809f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f78",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 238.571,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.06689,
    "h": 282.2
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#4E4F78
secondary
#A1A081
accent
#BC6ABE
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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