#4E5989#4E5989

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

Color values

HEX#4E5989
RGBrgb(78, 89, 137)
HSLhsl(229, 27%, 42%)
HSVhsv(229, 43%, 54%)
CMYKcmyk(43.1%, 35%, 0%, 46.3%)
CIE-LABlab(38.85, 8.93, -28.09)
CIE-LCHlch(38.85, 29.47, 287.63°)
OKLaboklab(47.61% 0.0045 -0.0788)
OKLCHoklch(47.61% 0.079 273.2)
XYZxyz(11.2282, 10.5701, 25.1107)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5989 #897E4E
analogous
#4E7789 #4E5989 #614E89
triadic
#4E5989 #894E59 #59894E
tetradic
#4E5989 #894E77 #897E4E #4E8961
square
#4E5989 #894E77 #897E4E #4E8961
split-complementary
#4E5989 #89614E #77894E
monochromatic
#22263B #384062 #4E5989 #6A76AA #919AC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5989#FFFFFF#000000##FFFFFF
##4E59891.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)
#485E8B
Deuteranopia (green-blind)
#435988
Tritanopia (blue-blind)
#3B636A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5989;
/* rgb */ color: rgb(78, 89, 137);
/* oklch */ color: oklch(47.6% 0.079 273.2);
Tailwind
colors: {
  custom: {
    50: '#8287ab',
    500: '#4e5989',
    950: '#000000',
  },
}
SCSS
$custom: #4e5989;
$custom-light: #8287ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5989",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 228.814,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.07889,
    "h": 273.2
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5989

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

Preview Lab → · Contrast checker → · Palette generator →

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