#4E5997#4E5997

#4E5997 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.4% C 0.100 H 274.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4E5997
RGBrgb(78, 89, 151)
HSLhsl(231, 32%, 45%)
HSVhsv(231, 48%, 59%)
CMYKcmyk(48.3%, 41.1%, 0%, 40.8%)
CIE-LABlab(39.58, 13.34, -35.39)
CIE-LCHlch(39.58, 37.82, 290.65°)
OKLaboklab(48.41% 0.0078 -0.1)
OKLCHoklch(48.41% 0.1 274.4)
XYZxyz(12.2984, 10.9981, 30.7470)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5997 #978C4E
analogous
#4E7E97 #4E5997 #684E97
triadic
#4E5997 #974E59 #59974E
tetradic
#4E5997 #974E7E #978C4E #4E9768
square
#4E5997 #974E7E #978C4E #4E9768
split-complementary
#4E5997 #97684E #7E974E
monochromatic
#242946 #39416F #4E5997 #6E79B4 #969EC9

Accessibility & contrast

On white

6.56
#4E5997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E5997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5997
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5997#FFFFFF#000000##FFFFFF
##4E59971.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416099
Deuteranopia (green-blind)
#3B5A96
Tritanopia (blue-blind)
#336670
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5997;
/* rgb */ color: rgb(78, 89, 151);
/* oklch */ color: oklch(48.4% 0.100 274.4);
Tailwind
colors: {
  custom: {
    50: '#8487b6',
    500: '#4e5997',
    950: '#000000',
  },
}
SCSS
$custom: #4e5997;
$custom-light: #8487b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5997",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 230.959,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.10032,
    "h": 274.4
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#4E5997
secondary
#B6AF8B
accent
#B860C8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5997

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

Preview Lab → · Contrast checker → · Palette generator →

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