#4E4A82#4E4A82

#4E4A82 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.0% C 0.091 H 285.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4E4A82
RGBrgb(78, 74, 130)
HSLhsl(244, 27%, 40%)
HSVhsv(244, 43%, 51%)
CMYKcmyk(40%, 43.1%, 0%, 49%)
CIE-LABlab(34.25, 16.41, -31.04)
CIE-LCHlch(34.25, 35.11, 297.87°)
OKLaboklab(43.96% 0.0239 -0.0874)
OKLCHoklch(43.96% 0.091 285.3)
XYZxyz(9.6188, 8.1286, 22.1769)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A82 #7E824A
analogous
#4A6282 #4E4A82 #6A4A82
triadic
#4E4A82 #824E4A #4A824E
tetradic
#4E4A82 #824A62 #7E824A #4A826A
square
#4E4A82 #824A62 #7E824A #4A826A
split-complementary
#4E4A82 #826A4A #62824A
monochromatic
#1F1E34 #37345B #4E4A82 #6863A6 #8E8ABC

Accessibility & contrast

On white

8.00
#4E4A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E4A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A82
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A82#FFFFFF#000000##FFFFFF
##4E4A821.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#354F81
Tritanopia (blue-blind)
#40555F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4a82;
/* rgb */ color: rgb(78, 74, 130);
/* oklch */ color: oklch(44.0% 0.091 285.3);
Tailwind
colors: {
  custom: {
    50: '#827ca6',
    500: '#4e4a82',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a82;
$custom-light: #827ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a82",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 244.286,
    "s": 27.451,
    "l": 40
  },
  "oklch": {
    "l": 0.43959,
    "c": 0.09058,
    "h": 285.3
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#4E4A82
secondary
#A6A87F
accent
#C464BD
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #4E4A82

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

Preview Lab → · Contrast checker → · Palette generator →

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