#4E4689#4E4689

#4E4689 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.6% C 0.108 H 286.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#4E4689
RGBrgb(78, 70, 137)
HSLhsl(247, 32%, 41%)
HSVhsv(247, 49%, 54%)
CMYKcmyk(43.1%, 48.9%, 0%, 46.3%)
CIE-LABlab(33.58, 21.14, -36.42)
CIE-LCHlch(33.58, 42.11, 300.13°)
OKLaboklab(43.58% 0.0306 -0.1031)
OKLCHoklch(43.58% 0.108 286.5)
XYZxyz(9.8461, 7.8058, 24.6499)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4689 #818946
analogous
#465F89 #4E4689 #6F4689
triadic
#4E4689 #894E46 #46894E
tetradic
#4E4689 #89465F #818946 #46896F
square
#4E4689 #89465F #818946 #46896F
split-complementary
#4E4689 #896F46 #5F8946
monochromatic
#201D38 #373160 #4E4689 #685FAD #8E87C2

Accessibility & contrast

On white

8.20
#4E4689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E4689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4689
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4689#FFFFFF#000000##FFFFFF
##4E46891.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518B
Deuteranopia (green-blind)
#2B4D87
Tritanopia (blue-blind)
#3D5461
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4689;
/* rgb */ color: rgb(78, 70, 137);
/* oklch */ color: oklch(43.6% 0.108 286.5);
Tailwind
colors: {
  custom: {
    50: '#8379ac',
    500: '#4e4689',
    950: '#000000',
  },
}
SCSS
$custom: #4e4689;
$custom-light: #8379ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4689",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 137
  },
  "hsl": {
    "h": 247.164,
    "s": 32.367,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43581,
    "c": 0.10756,
    "h": 286.5
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#4E4689
secondary
#A8AD7D
accent
#C95FBC
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4689

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

Preview Lab → · Contrast checker → · Palette generator →

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