#4E5A89#4E5A89

#4E5A89 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 47.8% C 0.078 H 272.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4E5A89
RGBrgb(78, 90, 137)
HSLhsl(228, 27%, 42%)
HSVhsv(228, 43%, 54%)
CMYKcmyk(43.1%, 34.3%, 0%, 46.3%)
CIE-LABlab(39.13, 8.29, -27.63)
CIE-LCHlch(39.13, 28.85, 286.71°)
OKLaboklab(47.83% 0.0031 -0.0774)
OKLCHoklch(47.83% 0.078 272.3)
XYZxyz(11.3120, 10.7376, 25.1386)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5A89 #897D4E
analogous
#4E7889 #4E5A89 #604E89
triadic
#4E5A89 #894E5A #5A894E
tetradic
#4E5A89 #894E78 #897D4E #4E8960
square
#4E5A89 #894E78 #897D4E #4E8960
split-complementary
#4E5A89 #89604E #78894E
monochromatic
#22273B #384062 #4E5A89 #6A77AA #919BC0

Accessibility & contrast

On white

6.67
#4E5A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E5A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5A89
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5A89#FFFFFF#000000##FFFFFF
##4E5A891.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8B
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#3B646B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e5a89;
/* rgb */ color: rgb(78, 90, 137);
/* oklch */ color: oklch(47.8% 0.078 272.3);
Tailwind
colors: {
  custom: {
    50: '#8288ab',
    500: '#4e5a89',
    950: '#000000',
  },
}
SCSS
$custom: #4e5a89;
$custom-light: #8288ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5a89",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 137
  },
  "hsl": {
    "h": 227.797,
    "s": 27.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47828,
    "c": 0.07751,
    "h": 272.3
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#4E5A89
secondary
#ADA586
accent
#B064C4
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5A89

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

Preview Lab → · Contrast checker → · Palette generator →

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