#4E5789#4E5789

#4E5789 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.2% C 0.082 H 275.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4E5789
RGBrgb(78, 87, 137)
HSLhsl(231, 27%, 42%)
HSVhsv(231, 43%, 54%)
CMYKcmyk(43.1%, 36.5%, 0%, 46.3%)
CIE-LABlab(38.27, 10.20, -28.99)
CIE-LCHlch(38.27, 30.73, 289.39°)
OKLaboklab(47.16% 0.0072 -0.0814)
OKLCHoklch(47.16% 0.082 275.1)
XYZxyz(11.0641, 10.2417, 25.0559)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5789 #89804E
analogous
#4E7589 #4E5789 #624E89
triadic
#4E5789 #894E57 #57894E
tetradic
#4E5789 #894E75 #89804E #4E8962
square
#4E5789 #894E75 #89804E #4E8962
split-complementary
#4E5789 #89624E #75894E
monochromatic
#22253B #383E62 #4E5789 #6A74AA #9198C0

Accessibility & contrast

On white

6.89
#4E5789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4E5789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5789
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5789#FFFFFF#000000##FFFFFF
##4E57891.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8B
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#3B6169
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5789;
/* rgb */ color: rgb(78, 87, 137);
/* oklch */ color: oklch(47.2% 0.082 275.1);
Tailwind
colors: {
  custom: {
    50: '#8286ab',
    500: '#4e5789',
    950: '#000000',
  },
}
SCSS
$custom: #4e5789;
$custom-light: #8286ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5789",
  "rgb": {
    "r": 78,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 230.847,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.0817,
    "h": 275.1
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#4E5789
secondary
#ADA786
accent
#B564C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5789

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

Preview Lab → · Contrast checker → · Palette generator →

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