#4E4790#4E4790

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

Color values

HEX#4E4790
RGBrgb(78, 71, 144)
HSLhsl(246, 34%, 42%)
HSVhsv(246, 51%, 56%)
CMYKcmyk(45.8%, 50.7%, 0%, 43.5%)
CIE-LABlab(34.27, 22.67, -39.60)
CIE-LCHlch(34.27, 45.63, 299.80°)
OKLaboklab(44.24% 0.03 -0.1124)
OKLCHoklch(44.24% 0.116 284.9)
XYZxyz(10.4277, 8.1394, 27.4018)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4790 #899047
analogous
#476590 #4E4790 #724790
triadic
#4E4790 #904E47 #47904E
tetradic
#4E4790 #904765 #899047 #479072
square
#4E4790 #904765 #899047 #479072
split-complementary
#4E4790 #907247 #659047
monochromatic
#221F3E #383367 #4E4790 #6A62B2 #918BC6

Accessibility & contrast

On white

7.99
#4E4790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4790
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4790#FFFFFF#000000##FFFFFF
##4E47901.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#254E8E
Tritanopia (blue-blind)
#395664
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4790;
/* rgb */ color: rgb(78, 71, 144);
/* oklch */ color: oklch(44.2% 0.116 284.9);
Tailwind
colors: {
  custom: {
    50: '#847ab1',
    500: '#4e4790',
    950: '#000000',
  },
}
SCSS
$custom: #4e4790;
$custom-light: #847ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4790",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 245.753,
    "s": 33.953,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44244,
    "c": 0.11638,
    "h": 284.9
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#4E4790
secondary
#ADB281
accent
#CA5EC0
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4790

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

Preview Lab → · Contrast checker → · Palette generator →

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