#4E5889#4E5889

#4E5889 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.4% C 0.080 H 274.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4E5889
RGBrgb(78, 88, 137)
HSLhsl(230, 27%, 42%)
HSVhsv(230, 43%, 54%)
CMYKcmyk(43.1%, 35.8%, 0%, 46.3%)
CIE-LABlab(38.56, 9.56, -28.54)
CIE-LCHlch(38.56, 30.10, 288.53°)
OKLaboklab(47.38% 0.0058 -0.0801)
OKLCHoklch(47.38% 0.08 274.2)
XYZxyz(11.1456, 10.4048, 25.0831)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5889 #897F4E
analogous
#4E7589 #4E5889 #624E89
triadic
#4E5889 #894E58 #58894E
tetradic
#4E5889 #894E75 #897F4E #4E8962
square
#4E5889 #894E75 #897F4E #4E8962
split-complementary
#4E5889 #89624E #75894E
monochromatic
#22263B #383F62 #4E5889 #6A75AA #9199C0

Accessibility & contrast

On white

6.82
#4E5889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4E5889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5889
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5889#FFFFFF#000000##FFFFFF
##4E58891.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475D8B
Deuteranopia (green-blind)
#425988
Tritanopia (blue-blind)
#3B626A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5889;
/* rgb */ color: rgb(78, 88, 137);
/* oklch */ color: oklch(47.4% 0.080 274.2);
Tailwind
colors: {
  custom: {
    50: '#8287ab',
    500: '#4e5889',
    950: '#000000',
  },
}
SCSS
$custom: #4e5889;
$custom-light: #8287ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5889",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 137
  },
  "hsl": {
    "h": 229.831,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47383,
    "c": 0.08028,
    "h": 274.2
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#4E5889
secondary
#ADA686
accent
#B464C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5889

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

Preview Lab → · Contrast checker → · Palette generator →

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