#4E4E7B#4E4E7B

#4E4E7B is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.073 H 283.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#4E4E7B
RGBrgb(78, 78, 123)
HSLhsl(240, 22%, 39%)
HSVhsv(240, 37%, 48%)
CMYKcmyk(36.6%, 36.6%, 0%, 51.8%)
CIE-LABlab(35.00, 11.73, -25.53)
CIE-LCHlch(35.00, 28.09, 294.68°)
OKLaboklab(44.41% 0.0165 -0.0714)
OKLCHoklch(44.41% 0.073 283)
XYZxyz(9.4404, 8.4982, 19.8780)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E7B #7B7B4E
analogous
#4E657B #4E4E7B #654E7B
triadic
#4E4E7B #7B4E4E #4E7B4E
tetradic
#4E4E7B #7B4E65 #7B7B4E #4E7B65
square
#4E4E7B #7B4E65 #7B7B4E #4E7B65
split-complementary
#4E4E7B #7B654E #657B4E
monochromatic
#1F1F30 #363656 #4E4E7B #67679F #8D8DB7

Accessibility & contrast

On white

7.78
#4E4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4E4E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E7B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E7B#FFFFFF#000000##FFFFFF
##4E4E7B1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#3E517A
Tritanopia (blue-blind)
#42565F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4e7b;
/* rgb */ color: rgb(78, 78, 123);
/* oklch */ color: oklch(44.4% 0.073 283.0);
Tailwind
colors: {
  custom: {
    50: '#817fa1',
    500: '#4e4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e7b;
$custom-light: #817fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e7b",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 240,
    "s": 22.388,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.07325,
    "h": 283
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#4E4E7B
secondary
#A3A381
accent
#BF69BF
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A0A0F
muted
#7C7C7E

Preview Lab

Preview with #4E4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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