#4E5791#4E5791

#4E5791 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.6% C 0.094 H 275.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4E5791
RGBrgb(78, 87, 145)
HSLhsl(232, 30%, 44%)
HSVhsv(232, 46%, 57%)
CMYKcmyk(46.2%, 40%, 0%, 43.1%)
CIE-LABlab(38.69, 12.70, -33.18)
CIE-LCHlch(38.69, 35.53, 290.95°)
OKLaboklab(47.62% 0.0091 -0.0936)
OKLCHoklch(47.62% 0.094 275.6)
XYZxyz(11.6593, 10.4798, 28.1910)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5791 #91884E
analogous
#4E7891 #4E5791 #664E91
triadic
#4E5791 #914E57 #57914E
tetradic
#4E5791 #914E78 #91884E #4E9166
square
#4E5791 #914E78 #91884E #4E9166
split-complementary
#4E5791 #91664E #78914E
monochromatic
#232741 #393F69 #4E5791 #6C75B0 #949BC5

Accessibility & contrast

On white

6.78
#4E5791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E5791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5791
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5791#FFFFFF#000000##FFFFFF
##4E57911.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E93
Deuteranopia (green-blind)
#3C5990
Tritanopia (blue-blind)
#37636D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5791;
/* rgb */ color: rgb(78, 87, 145);
/* oklch */ color: oklch(47.6% 0.094 275.6);
Tailwind
colors: {
  custom: {
    50: '#8386b1',
    500: '#4e5791',
    950: '#000000',
  },
}
SCSS
$custom: #4e5791;
$custom-light: #8386b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5791",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 231.94,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.09402,
    "h": 275.6
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#4E5791
secondary
#B2AC89
accent
#B962C6
background
#F8F8FA
surface
#EFEFF5
border
#CACACF
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4E5791

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

Preview Lab → · Contrast checker → · Palette generator →

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