#4E4D98#4E4D98

#4E4D98 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 46.0% C 0.119 H 281.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4E4D98
RGBrgb(78, 77, 152)
HSLhsl(241, 33%, 45%)
HSVhsv(241, 49%, 60%)
CMYKcmyk(48.7%, 49.3%, 0%, 40.4%)
CIE-LABlab(36.35, 21.36, -41.12)
CIE-LCHlch(36.35, 46.34, 297.44°)
OKLaboklab(45.97% 0.0232 -0.1169)
OKLCHoklch(45.97% 0.119 281.2)
XYZxyz(11.4615, 9.1939, 30.8703)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D98 #97984D
analogous
#4D7298 #4E4D98 #744D98
triadic
#4E4D98 #984E4D #4D984E
tetradic
#4E4D98 #984D72 #97984D #4D9874
square
#4E4D98 #984D72 #97984D #4D9874
split-complementary
#4E4D98 #98744D #72984D
monochromatic
#242447 #39386F #4E4D98 #6E6DB5 #9696CA

Accessibility & contrast

On white

7.40
#4E4D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E4D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D98
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D98#FFFFFF#000000##FFFFFF
##4E4D981.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#345D6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e4d98;
/* rgb */ color: rgb(78, 77, 152);
/* oklch */ color: oklch(46.0% 0.119 281.2);
Tailwind
colors: {
  custom: {
    50: '#847eb7',
    500: '#4e4d98',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d98;
$custom-light: #847eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d98",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 240.8,
    "s": 32.751,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45974,
    "c": 0.11917,
    "h": 281.2
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#4E4D98
secondary
#B6B68B
accent
#C95FC7
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4E4D98

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

Preview Lab → · Contrast checker → · Palette generator →

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