#4E4C8A#4E4C8A

#4E4C8A is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.9% C 0.100 H 283.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4E4C8A
RGBrgb(78, 76, 138)
HSLhsl(242, 29%, 42%)
HSVhsv(242, 45%, 54%)
CMYKcmyk(43.5%, 44.9%, 0%, 45.9%)
CIE-LABlab(35.25, 17.58, -34.37)
CIE-LCHlch(35.25, 38.61, 297.09°)
OKLaboklab(44.87% 0.0226 -0.0971)
OKLCHoklch(44.87% 0.1 283.1)
XYZxyz(10.3124, 8.6231, 25.1609)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C8A #888A4C
analogous
#4C698A #4E4C8A #6D4C8A
triadic
#4E4C8A #8A4E4C #4C8A4E
tetradic
#4E4C8A #8A4C69 #888A4C #4C8A6D
square
#4E4C8A #8A4C69 #888A4C #4C8A6D
split-complementary
#4E4C8A #8A6D4C #698A4C
monochromatic
#21213B #383663 #4E4C8A #6A68AC #918FC1

Accessibility & contrast

On white

7.71
#4E4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4C8A
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C8A#FFFFFF#000000##FFFFFF
##4E4C8A1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#325189
Tritanopia (blue-blind)
#3C5964
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4c8a;
/* rgb */ color: rgb(78, 76, 138);
/* oklch */ color: oklch(44.9% 0.100 283.1);
Tailwind
colors: {
  custom: {
    50: '#837eac',
    500: '#4e4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c8a;
$custom-light: #837eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c8a",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 241.935,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.09969,
    "h": 283.1
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#4E4C8A
secondary
#ACAE84
accent
#C563C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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