#4E4998#4E4998

#4E4998 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.125 H 283.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4E4998
RGBrgb(78, 73, 152)
HSLhsl(244, 35%, 44%)
HSVhsv(244, 52%, 60%)
CMYKcmyk(48.7%, 52%, 0%, 40.4%)
CIE-LABlab(35.30, 23.92, -42.80)
CIE-LCHlch(35.30, 49.04, 299.20°)
OKLaboklab(45.18% 0.0282 -0.1219)
OKLCHoklch(45.18% 0.125 283)
XYZxyz(11.1902, 8.6512, 30.7799)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4998 #939849
analogous
#496C98 #4E4998 #764998
triadic
#4E4998 #984E49 #49984E
tetradic
#4E4998 #98496C #939849 #499876
square
#4E4998 #98496C #939849 #499876
split-complementary
#4E4998 #987649 #6C9849
monochromatic
#242145 #39356F #4E4998 #6D68B6 #9591CA

Accessibility & contrast

On white

7.69
#4E4998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E4998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4998
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4998#FFFFFF#000000##FFFFFF
##4E49981.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#1F5096
Tritanopia (blue-blind)
#345A69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4998;
/* rgb */ color: rgb(78, 73, 152);
/* oklch */ color: oklch(45.2% 0.125 283.0);
Tailwind
colors: {
  custom: {
    50: '#857bb7',
    500: '#4e4998',
    950: '#000000',
  },
}
SCSS
$custom: #4e4998;
$custom-light: #857bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4998",
  "rgb": {
    "r": 78,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 243.797,
    "s": 35.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.12508,
    "h": 283
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#4E4998
secondary
#B3B687
accent
#CB5DC4
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4E4998

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

Preview Lab → · Contrast checker → · Palette generator →

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