#4E4789#4E4789

#4E4789 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.8% C 0.106 H 286.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4E4789
RGBrgb(78, 71, 137)
HSLhsl(246, 32%, 41%)
HSVhsv(246, 48%, 54%)
CMYKcmyk(43.1%, 48.2%, 0%, 46.3%)
CIE-LABlab(33.84, 20.50, -36.00)
CIE-LCHlch(33.84, 41.42, 299.66°)
OKLaboklab(43.78% 0.0292 -0.1019)
OKLCHoklch(43.78% 0.106 286)
XYZxyz(9.9092, 7.9319, 24.6710)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4789 #828947
analogous
#476189 #4E4789 #6F4789
triadic
#4E4789 #894E47 #47894E
tetradic
#4E4789 #894761 #828947 #47896F
square
#4E4789 #894761 #828947 #47896F
split-complementary
#4E4789 #896F47 #618947
monochromatic
#201D38 #373261 #4E4789 #6860AD #8F89C2

Accessibility & contrast

On white

8.12
#4E4789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E4789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4789
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4789#FFFFFF#000000##FFFFFF
##4E47891.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D518B
Deuteranopia (green-blind)
#2C4E87
Tritanopia (blue-blind)
#3D5461
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e4789;
/* rgb */ color: rgb(78, 71, 137);
/* oklch */ color: oklch(43.8% 0.106 286.0);
Tailwind
colors: {
  custom: {
    50: '#837aac',
    500: '#4e4789',
    950: '#000000',
  },
}
SCSS
$custom: #4e4789;
$custom-light: #837aac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4789",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 246.364,
    "s": 31.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.10599,
    "h": 286
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#4E4789
secondary
#A8AD7F
accent
#C860BD
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4789

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

Preview Lab → · Contrast checker → · Palette generator →

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