#4E5794#4E5794

#4E5794 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.8% C 0.099 H 275.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4E5794
RGBrgb(78, 87, 148)
HSLhsl(232, 31%, 44%)
HSVhsv(232, 47%, 58%)
CMYKcmyk(47.3%, 41.2%, 0%, 42%)
CIE-LABlab(38.85, 13.66, -34.73)
CIE-LCHlch(38.85, 37.32, 291.46°)
OKLaboklab(47.8% 0.0098 -0.0981)
OKLCHoklch(47.8% 0.099 275.7)
XYZxyz(11.8937, 10.5736, 29.4254)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5794 #948B4E
analogous
#4E7A94 #4E5794 #684E94
triadic
#4E5794 #944E57 #57944E
tetradic
#4E5794 #944E7A #948B4E #4E9468
square
#4E5794 #944E7A #948B4E #4E9468
split-complementary
#4E5794 #94684E #7A944E
monochromatic
#242844 #393F6C #4E5794 #6D76B2 #959CC7

Accessibility & contrast

On white

6.74
#4E5794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E5794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5794
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5794#FFFFFF#000000##FFFFFF
##4E57941.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E96
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#35646E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5794;
/* rgb */ color: rgb(78, 87, 148);
/* oklch */ color: oklch(47.8% 0.099 275.7);
Tailwind
colors: {
  custom: {
    50: '#8386b4',
    500: '#4e5794',
    950: '#000000',
  },
}
SCSS
$custom: #4e5794;
$custom-light: #8386b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5794",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 148
  },
  "hsl": {
    "h": 232.286,
    "s": 30.973,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.09859,
    "h": 275.7
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#4E5794
secondary
#B4AE8A
accent
#BA61C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5794

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

Preview Lab → · Contrast checker → · Palette generator →

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