#4E4A77#4E4A77

#4E4A77 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.3% C 0.073 H 287.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4E4A77
RGBrgb(78, 74, 119)
HSLhsl(245, 23%, 38%)
HSVhsv(245, 38%, 47%)
CMYKcmyk(34.5%, 37.8%, 0%, 53.3%)
CIE-LABlab(33.67, 13.14, -25.13)
CIE-LCHlch(33.67, 28.36, 297.60°)
OKLaboklab(43.32% 0.0214 -0.0702)
OKLCHoklch(43.32% 0.073 287)
XYZxyz(8.9196, 7.8489, 18.4942)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A77 #73774A
analogous
#4A5C77 #4E4A77 #644A77
triadic
#4E4A77 #774E4A #4A774E
tetradic
#4E4A77 #774A5C #73774A #4A7764
square
#4E4A77 #774A5C #73774A #4A7764
split-complementary
#4E4A77 #77644A #5C774A
monochromatic
#1D1B2C #353351 #4E4A77 #67619D #8B87B4

Accessibility & contrast

On white

8.17
#4E4A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4E4A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A77
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A77#FFFFFF#000000##FFFFFF
##4E4A771.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5079
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#44525B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4a77;
/* rgb */ color: rgb(78, 74, 119);
/* oklch */ color: oklch(43.3% 0.073 287.0);
Tailwind
colors: {
  custom: {
    50: '#817c9e',
    500: '#4e4a77',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a77;
$custom-light: #817c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a77",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 119
  },
  "hsl": {
    "h": 245.333,
    "s": 23.316,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43323,
    "c": 0.07342,
    "h": 287
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#4E4A77
secondary
#9EA17C
accent
#C068B8
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4A77

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

Preview Lab → · Contrast checker → · Palette generator →

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