#4E5998#4E5998

#4E5998 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.5% C 0.102 H 274.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4E5998
RGBrgb(78, 89, 152)
HSLhsl(231, 32%, 45%)
HSVhsv(231, 49%, 60%)
CMYKcmyk(48.7%, 41.4%, 0%, 40.4%)
CIE-LABlab(39.63, 13.66, -35.90)
CIE-LCHlch(39.63, 38.41, 290.83°)
OKLaboklab(48.47% 0.008 -0.1015)
OKLCHoklch(48.47% 0.102 274.5)
XYZxyz(12.3800, 11.0307, 31.1765)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5998 #988D4E
analogous
#4E7E98 #4E5998 #684E98
triadic
#4E5998 #984E59 #59984E
tetradic
#4E5998 #984E7E #988D4E #4E9868
square
#4E5998 #984E7E #988D4E #4E9868
split-complementary
#4E5998 #98684E #7E984E
monochromatic
#242A47 #394170 #4E5998 #6E79B5 #979ECA

Accessibility & contrast

On white

6.55
#4E5998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E5998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5998
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5998#FFFFFF#000000##FFFFFF
##4E59981.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619A
Deuteranopia (green-blind)
#3A5A97
Tritanopia (blue-blind)
#326671
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5998;
/* rgb */ color: rgb(78, 89, 152);
/* oklch */ color: oklch(48.5% 0.102 274.5);
Tailwind
colors: {
  custom: {
    50: '#8487b6',
    500: '#4e5998',
    950: '#000000',
  },
}
SCSS
$custom: #4e5998;
$custom-light: #8487b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5998",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 231.081,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48466,
    "c": 0.10183,
    "h": 274.5
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#4E5998
secondary
#B6B08C
accent
#B95FC8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5998

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

Preview Lab → · Contrast checker → · Palette generator →

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