#4E4D89#4E4D89

#4E4D89 is a mid, moderate blue. Relative luminance 0.087; OKLCH L 45.0% C 0.097 H 282.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4E4D89
RGBrgb(78, 77, 137)
HSLhsl(241, 28%, 42%)
HSVhsv(241, 44%, 54%)
CMYKcmyk(43.1%, 43.8%, 0%, 46.3%)
CIE-LABlab(35.47, 16.62, -33.41)
CIE-LCHlch(35.47, 37.32, 296.45°)
OKLaboklab(45.01% 0.021 -0.0943)
OKLCHoklch(45.01% 0.097 282.6)
XYZxyz(10.3098, 8.7332, 24.8045)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D89 #88894D
analogous
#4D6A89 #4E4D89 #6C4D89
triadic
#4E4D89 #894E4D #4D894E
tetradic
#4E4D89 #894D6A #88894D #4D896C
square
#4E4D89 #894D6A #88894D #4D896C
split-complementary
#4E4D89 #896C4D #6A894D
monochromatic
#21213B #383762 #4E4D89 #6A69AB #9190C1

Accessibility & contrast

On white

7.65
#4E4D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4E4D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D89
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D89#FFFFFF#000000##FFFFFF
##4E4D891.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558B
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#3C5964
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4d89;
/* rgb */ color: rgb(78, 77, 137);
/* oklch */ color: oklch(45.0% 0.097 282.6);
Tailwind
colors: {
  custom: {
    50: '#837eac',
    500: '#4e4d89',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d89;
$custom-light: #837eac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d89",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 241,
    "s": 28.037,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.09662,
    "h": 282.6
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#4E4D89
secondary
#ACAD85
accent
#C463C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4D89

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

Preview Lab → · Contrast checker → · Palette generator →

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