#4E4A7B#4E4A7B

#4E4A7B is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.5% C 0.080 H 286.3°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4E4A7B
RGBrgb(78, 74, 123)
HSLhsl(245, 25%, 39%)
HSVhsv(245, 40%, 48%)
CMYKcmyk(36.6%, 39.8%, 0%, 51.8%)
CIE-LABlab(33.87, 14.31, -27.30)
CIE-LCHlch(33.87, 30.82, 297.67°)
OKLaboklab(43.55% 0.0224 -0.0765)
OKLCHoklch(43.55% 0.08 286.3)
XYZxyz(9.1648, 7.9471, 19.7861)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A7B #777B4A
analogous
#4A5E7B #4E4A7B #664A7B
triadic
#4E4A7B #7B4E4A #4A7B4E
tetradic
#4E4A7B #7B4A5E #777B4A #4A7B66
square
#4E4A7B #7B4A5E #777B4A #4A7B66
split-complementary
#4E4A7B #7B664A #5E7B4A
monochromatic
#1E1C2F #363355 #4E4A7B #6762A0 #8C88B7

Accessibility & contrast

On white

8.11
#4E4A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E4A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A7B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A7B#FFFFFF#000000##FFFFFF
##4E4A7B1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#3A4E7A
Tritanopia (blue-blind)
#42535C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4a7b;
/* rgb */ color: rgb(78, 74, 123);
/* oklch */ color: oklch(43.5% 0.080 286.3);
Tailwind
colors: {
  custom: {
    50: '#817ca1',
    500: '#4e4a7b',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a7b;
$custom-light: #817ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a7b",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 244.898,
    "s": 24.873,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.07971,
    "h": 286.3
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#4E4A7B
secondary
#A1A47D
accent
#C167BA
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0A090F
muted
#7C7B7E

Preview Lab

Preview with #4E4A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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