#4E4974#4E4974

#4E4974 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.9% C 0.070 H 288.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#4E4974
RGBrgb(78, 73, 116)
HSLhsl(247, 23%, 37%)
HSVhsv(247, 37%, 45%)
CMYKcmyk(32.8%, 37.1%, 0%, 54.5%)
CIE-LABlab(33.23, 12.92, -23.93)
CIE-LCHlch(33.23, 27.20, 298.35°)
OKLaboklab(42.94% 0.0222 -0.0668)
OKLCHoklch(42.94% 0.07 288.4)
XYZxyz(8.6760, 7.6455, 17.5382)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4974 #6F7449
analogous
#495A74 #4E4974 #644974
triadic
#4E4974 #744E49 #49744E
tetradic
#4E4974 #74495A #6F7449 #497464
square
#4E4974 #74495A #6F7449 #497464
split-complementary
#4E4974 #746449 #5A7449
monochromatic
#1B1A29 #35314E #4E4974 #67619A #8A85B2

Accessibility & contrast

On white

8.30
#4E4974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E4974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4974
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4974#FFFFFF#000000##FFFFFF
##4E49741.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F76
Deuteranopia (green-blind)
#3C4D73
Tritanopia (blue-blind)
#455159
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4974;
/* rgb */ color: rgb(78, 73, 116);
/* oklch */ color: oklch(42.9% 0.070 288.4);
Tailwind
colors: {
  custom: {
    50: '#817b9c',
    500: '#4e4974',
    950: '#000000',
  },
}
SCSS
$custom: #4e4974;
$custom-light: #817b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4974",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 116
  },
  "hsl": {
    "h": 246.977,
    "s": 22.751,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.07035,
    "h": 288.4
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#4E4974
secondary
#9A9F7A
accent
#BF69B5
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4974

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

Preview Lab → · Contrast checker → · Palette generator →

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