#4E4A7D#4E4A7D

#4E4A7D is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.7% C 0.083 H 286.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4E4A7D
RGBrgb(78, 74, 125)
HSLhsl(245, 26%, 39%)
HSVhsv(245, 41%, 49%)
CMYKcmyk(37.6%, 40.8%, 0%, 51%)
CIE-LABlab(33.98, 14.91, -28.37)
CIE-LCHlch(33.98, 32.05, 297.72°)
OKLaboklab(43.66% 0.0229 -0.0796)
OKLCHoklch(43.66% 0.083 286)
XYZxyz(9.2913, 7.9976, 20.4522)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A7D #797D4A
analogous
#4A607D #4E4A7D #684A7D
triadic
#4E4A7D #7D4E4A #4A7D4E
tetradic
#4E4A7D #7D4A60 #797D4A #4A7D68
square
#4E4A7D #7D4A60 #797D4A #4A7D68
split-complementary
#4E4A7D #7D684A #607D4A
monochromatic
#1E1C30 #363357 #4E4A7D #6762A2 #8C89B9

Accessibility & contrast

On white

8.08
#4E4A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E4A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A7D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A7D#FFFFFF#000000##FFFFFF
##4E4A7D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#42545D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4a7d;
/* rgb */ color: rgb(78, 74, 125);
/* oklch */ color: oklch(43.7% 0.083 286.0);
Tailwind
colors: {
  custom: {
    50: '#817ca3',
    500: '#4e4a7d',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a7d;
$custom-light: #817ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a7d",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 244.706,
    "s": 25.628,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43663,
    "c": 0.08283,
    "h": 286
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#4E4A7D
secondary
#A2A57E
accent
#C266BB
background
#F8F7FA
surface
#EFEEF3
border
#CAC9CD
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4E4A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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