#4E5984#4E5984

#4E5984 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.3% C 0.071 H 272.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4E5984
RGBrgb(78, 89, 132)
HSLhsl(228, 26%, 41%)
HSVhsv(228, 41%, 52%)
CMYKcmyk(40.9%, 32.6%, 0%, 48.2%)
CIE-LABlab(38.60, 7.40, -25.42)
CIE-LCHlch(38.60, 26.48, 286.23°)
OKLaboklab(47.34% 0.0031 -0.0711)
OKLCHoklch(47.34% 0.071 272.5)
XYZxyz(10.8779, 10.4299, 23.2653)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5984 #84794E
analogous
#4E7484 #4E5984 #5E4E84
triadic
#4E5984 #844E59 #59844E
tetradic
#4E5984 #844E74 #84794E #4E845E
square
#4E5984 #844E74 #84794E #4E845E
split-complementary
#4E5984 #845E4E #74844E
monochromatic
#212537 #373F5E #4E5984 #6975A6 #8F99BD

Accessibility & contrast

On white

6.80
#4E5984 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E5984 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5984
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5984#FFFFFF#000000##FFFFFF
##4E59841.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D86
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#3D6268
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e5984;
/* rgb */ color: rgb(78, 89, 132);
/* oklch */ color: oklch(47.3% 0.071 272.5);
Tailwind
colors: {
  custom: {
    50: '#8287a8',
    500: '#4e5984',
    950: '#000000',
  },
}
SCSS
$custom: #4e5984;
$custom-light: #8287a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5984",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 132
  },
  "hsl": {
    "h": 227.778,
    "s": 25.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.07113,
    "h": 272.5
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#4E5984
secondary
#AAA284
accent
#AF66C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5984

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

Preview Lab → · Contrast checker → · Palette generator →

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