#4E4E7E#4E4E7E

#4E4E7E is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.6% C 0.078 H 282.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4E4E7E
RGBrgb(78, 78, 126)
HSLhsl(240, 24%, 40%)
HSVhsv(240, 38%, 49%)
CMYKcmyk(38.1%, 38.1%, 0%, 50.6%)
CIE-LABlab(35.15, 12.62, -27.14)
CIE-LCHlch(35.15, 29.94, 294.94°)
OKLaboklab(44.58% 0.0172 -0.0761)
OKLCHoklch(44.58% 0.078 282.8)
XYZxyz(9.6311, 8.5745, 20.8822)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E7E #7E7E4E
analogous
#4E667E #4E4E7E #664E7E
triadic
#4E4E7E #7E4E4E #4E7E4E
tetradic
#4E4E7E #7E4E66 #7E7E4E #4E7E66
square
#4E4E7E #7E4E66 #7E7E4E #4E7E66
split-complementary
#4E4E7E #7E664E #667E4E
monochromatic
#1F1F32 #373758 #4E4E7E #6868A1 #8E8EB9

Accessibility & contrast

On white

7.73
#4E4E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4E4E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E7E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E7E#FFFFFF#000000##FFFFFF
##4E4E7E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5480
Deuteranopia (green-blind)
#3D517D
Tritanopia (blue-blind)
#415760
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4e7e;
/* rgb */ color: rgb(78, 78, 126);
/* oklch */ color: oklch(44.6% 0.078 282.8);
Tailwind
colors: {
  custom: {
    50: '#817fa3',
    500: '#4e4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e7e;
$custom-light: #817fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e7e",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 23.529,
    "l": 40
  },
  "oklch": {
    "l": 0.44578,
    "c": 0.07798,
    "h": 282.8
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#4E4E7E
secondary
#A6A682
accent
#C068C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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