#4E4E7D#4E4E7D

#4E4E7D is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.5% C 0.076 H 282.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4E4E7D
RGBrgb(78, 78, 125)
HSLhsl(240, 23%, 40%)
HSVhsv(240, 38%, 49%)
CMYKcmyk(37.6%, 37.6%, 0%, 51%)
CIE-LABlab(35.10, 12.32, -26.61)
CIE-LCHlch(35.10, 29.32, 294.85°)
OKLaboklab(44.52% 0.017 -0.0745)
OKLCHoklch(44.52% 0.076 282.9)
XYZxyz(9.5669, 8.5488, 20.5441)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E7D #7D7D4E
analogous
#4E667D #4E4E7D #664E7D
triadic
#4E4E7D #7D4E4E #4E7D4E
tetradic
#4E4E7D #7D4E66 #7D7D4E #4E7D66
square
#4E4E7D #7D4E66 #7D7D4E #4E7D66
split-complementary
#4E4E7D #7D664E #667D4E
monochromatic
#1F1F32 #363657 #4E4E7D #6868A1 #8D8DB8

Accessibility & contrast

On white

7.75
#4E4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4E7D
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E7D#FFFFFF#000000##FFFFFF
##4E4E7D1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#41575F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4e7d;
/* rgb */ color: rgb(78, 78, 125);
/* oklch */ color: oklch(44.5% 0.076 282.9);
Tailwind
colors: {
  custom: {
    50: '#817fa3',
    500: '#4e4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e7d;
$custom-light: #817fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e7d",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 23.153,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.07641,
    "h": 282.9
  },
  "luminance": 0.08549
}

Semantic roles & 50–950 ramp

primary
#4E4E7D
secondary
#A5A582
accent
#C068C0
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4E4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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