#4E4589#4E4589

#4E4589 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.4% C 0.109 H 287.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4E4589
RGBrgb(78, 69, 137)
HSLhsl(248, 33%, 40%)
HSVhsv(248, 50%, 54%)
CMYKcmyk(43.1%, 49.6%, 0%, 46.3%)
CIE-LABlab(33.31, 21.78, -36.84)
CIE-LCHlch(33.31, 42.80, 300.60°)
OKLaboklab(43.38% 0.0319 -0.1044)
OKLCHoklch(43.38% 0.109 287)
XYZxyz(9.7841, 7.6817, 24.6293)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4589 #808945
analogous
#455E89 #4E4589 #704589
triadic
#4E4589 #894E45 #45894E
tetradic
#4E4589 #89455E #808945 #458970
square
#4E4589 #89455E #808945 #458970
split-complementary
#4E4589 #897045 #5E8945
monochromatic
#201C38 #373160 #4E4589 #685EAE #8E86C2

Accessibility & contrast

On white

8.28
#4E4589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E4589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4589
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4589#FFFFFF#000000##FFFFFF
##4E45891.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#294C87
Tritanopia (blue-blind)
#3D5360
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e4589;
/* rgb */ color: rgb(78, 69, 137);
/* oklch */ color: oklch(43.4% 0.109 287.0);
Tailwind
colors: {
  custom: {
    50: '#8378ac',
    500: '#4e4589',
    950: '#000000',
  },
}
SCSS
$custom: #4e4589;
$custom-light: #8378ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4589",
  "rgb": {
    "r": 78,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 247.941,
    "s": 33.01,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.10914,
    "h": 287
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#4E4589
secondary
#A7AD7C
accent
#C95FBB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4589

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

Preview Lab → · Contrast checker → · Palette generator →

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