#4E4A8A#4E4A8A

#4E4A8A is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.5% C 0.103 H 284.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4E4A8A
RGBrgb(78, 74, 138)
HSLhsl(244, 30%, 42%)
HSVhsv(244, 46%, 54%)
CMYKcmyk(43.5%, 46.4%, 0%, 45.9%)
CIE-LABlab(34.71, 18.87, -35.23)
CIE-LCHlch(34.71, 39.97, 298.17°)
OKLaboklab(44.45% 0.0253 -0.0996)
OKLCHoklch(44.45% 0.103 284.2)
XYZxyz(10.1768, 8.3518, 25.1157)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A8A #868A4A
analogous
#4A668A #4E4A8A #6E4A8A
triadic
#4E4A8A #8A4E4A #4A8A4E
tetradic
#4E4A8A #8A4A66 #868A4A #4A8A6E
square
#4E4A8A #8A4A66 #868A4A #4A8A6E
split-complementary
#4E4A8A #8A6E4A #668A4A
monochromatic
#211F3A #373562 #4E4A8A #6965AC #908DC2

Accessibility & contrast

On white

7.86
#4E4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E4A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A8A
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A8A#FFFFFF#000000##FFFFFF
##4E4A8A1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#2F5089
Tritanopia (blue-blind)
#3C5763
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4a8a;
/* rgb */ color: rgb(78, 74, 138);
/* oklch */ color: oklch(44.5% 0.103 284.2);
Tailwind
colors: {
  custom: {
    50: '#837cac',
    500: '#4e4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a8a;
$custom-light: #837cac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a8a",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 243.75,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44453,
    "c": 0.10279,
    "h": 284.2
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#4E4A8A
secondary
#ABAE82
accent
#C661C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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