#4E5891#4E5891

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

Color values

HEX#4E5891
RGBrgb(78, 88, 145)
HSLhsl(231, 30%, 44%)
HSVhsv(231, 46%, 57%)
CMYKcmyk(46.2%, 39.3%, 0%, 43.1%)
CIE-LABlab(38.97, 12.06, -32.73)
CIE-LCHlch(38.97, 34.89, 290.23°)
OKLaboklab(47.84% 0.0078 -0.0923)
OKLCHoklch(47.84% 0.093 274.8)
XYZxyz(11.7409, 10.6429, 28.2182)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5891 #91874E
analogous
#4E7991 #4E5891 #654E91
triadic
#4E5891 #914E58 #58914E
tetradic
#4E5891 #914E79 #91874E #4E9165
square
#4E5891 #914E79 #91874E #4E9165
split-complementary
#4E5891 #91654E #79914E
monochromatic
#232841 #394069 #4E5891 #6C76B0 #949BC5

Accessibility & contrast

On white

6.71
#4E5891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4E5891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5891
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5891#FFFFFF#000000##FFFFFF
##4E58911.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F93
Deuteranopia (green-blind)
#3E5990
Tritanopia (blue-blind)
#36646D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5891;
/* rgb */ color: rgb(78, 88, 145);
/* oklch */ color: oklch(47.8% 0.093 274.8);
Tailwind
colors: {
  custom: {
    50: '#8387b1',
    500: '#4e5891',
    950: '#000000',
  },
}
SCSS
$custom: #4e5891;
$custom-light: #8387b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5891",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 145
  },
  "hsl": {
    "h": 231.045,
    "s": 30.045,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47836,
    "c": 0.0926,
    "h": 274.8
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5891

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

Preview Lab → · Contrast checker → · Palette generator →

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