#4E4989#4E4989

#4E4989 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.2% C 0.103 H 284.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4E4989
RGBrgb(78, 73, 137)
HSLhsl(245, 30%, 41%)
HSVhsv(245, 47%, 54%)
CMYKcmyk(43.1%, 46.7%, 0%, 46.3%)
CIE-LABlab(34.38, 19.21, -35.14)
CIE-LCHlch(34.38, 40.05, 298.66°)
OKLaboklab(44.19% 0.0265 -0.0994)
OKLCHoklch(44.19% 0.103 284.9)
XYZxyz(10.0385, 8.1905, 24.7141)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4989 #848949
analogous
#496489 #4E4989 #6E4989
triadic
#4E4989 #894E49 #49894E
tetradic
#4E4989 #894964 #848949 #49896E
square
#4E4989 #894964 #848949 #49896E
split-complementary
#4E4989 #896E49 #648949
monochromatic
#211E39 #373461 #4E4989 #6963AC #8F8BC1

Accessibility & contrast

On white

7.96
#4E4989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E4989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4989
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4989#FFFFFF#000000##FFFFFF
##4E49891.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538B
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#3C5662
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4989;
/* rgb */ color: rgb(78, 73, 137);
/* oklch */ color: oklch(44.2% 0.103 284.9);
Tailwind
colors: {
  custom: {
    50: '#837bac',
    500: '#4e4989',
    950: '#000000',
  },
}
SCSS
$custom: #4e4989;
$custom-light: #837bac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4989",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 244.688,
    "s": 30.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44185,
    "c": 0.10285,
    "h": 284.9
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#4E4989
secondary
#AAAD81
accent
#C761BF
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4989

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

Preview Lab → · Contrast checker → · Palette generator →

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