#4E4988#4E4988

#4E4988 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.1% C 0.101 H 285.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4E4988
RGBrgb(78, 73, 136)
HSLhsl(245, 30%, 41%)
HSVhsv(245, 46%, 53%)
CMYKcmyk(42.6%, 46.3%, 0%, 46.7%)
CIE-LABlab(34.32, 18.90, -34.62)
CIE-LCHlch(34.32, 39.44, 298.62°)
OKLaboklab(44.12% 0.0263 -0.0979)
OKLCHoklch(44.12% 0.101 285.1)
XYZxyz(9.9671, 8.1620, 24.3380)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4988 #838849
analogous
#496388 #4E4988 #6D4988
triadic
#4E4988 #884E49 #49884E
tetradic
#4E4988 #884963 #838849 #49886D
square
#4E4988 #884963 #838849 #49886D
split-complementary
#4E4988 #886D49 #638849
monochromatic
#201E38 #373460 #4E4988 #6963AB #8F8BC1

Accessibility & contrast

On white

7.98
#4E4988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4988
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4988#FFFFFF#000000##FFFFFF
##4E49881.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538A
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#3D5662
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4988;
/* rgb */ color: rgb(78, 73, 136);
/* oklch */ color: oklch(44.1% 0.101 285.1);
Tailwind
colors: {
  custom: {
    50: '#837bab',
    500: '#4e4988',
    950: '#000000',
  },
}
SCSS
$custom: #4e4988;
$custom-light: #837bab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4988",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 136
  },
  "hsl": {
    "h": 244.762,
    "s": 30.144,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44122,
    "c": 0.10134,
    "h": 285.1
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#4E4988
secondary
#A9AC80
accent
#C661BE
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4988

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

Preview Lab → · Contrast checker → · Palette generator →

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