#4E5884#4E5884

#4E5884 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.073 H 273.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4E5884
RGBrgb(78, 88, 132)
HSLhsl(229, 26%, 41%)
HSVhsv(229, 41%, 52%)
CMYKcmyk(40.9%, 33.3%, 0%, 48.2%)
CIE-LABlab(38.31, 8.03, -25.88)
CIE-LCHlch(38.31, 27.09, 287.24°)
OKLaboklab(47.11% 0.0045 -0.0724)
OKLCHoklch(47.11% 0.073 273.5)
XYZxyz(10.7952, 10.2646, 23.2378)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5884 #847A4E
analogous
#4E7384 #4E5884 #5F4E84
triadic
#4E5884 #844E58 #58844E
tetradic
#4E5884 #844E73 #847A4E #4E845F
square
#4E5884 #844E73 #847A4E #4E845F
split-complementary
#4E5884 #845F4E #73844E
monochromatic
#212537 #373E5E #4E5884 #6974A6 #8F98BD

Accessibility & contrast

On white

6.88
#4E5884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E5884
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5884#FFFFFF#000000##FFFFFF
##4E58841.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495D86
Deuteranopia (green-blind)
#455883
Tritanopia (blue-blind)
#3D6168
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e5884;
/* rgb */ color: rgb(78, 88, 132);
/* oklch */ color: oklch(47.1% 0.073 273.5);
Tailwind
colors: {
  custom: {
    50: '#8287a8',
    500: '#4e5884',
    950: '#000000',
  },
}
SCSS
$custom: #4e5884;
$custom-light: #8287a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5884",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 132
  },
  "hsl": {
    "h": 228.889,
    "s": 25.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47112,
    "c": 0.07251,
    "h": 273.5
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#4E5884
secondary
#AAA384
accent
#B166C2
background
#F8F8FA
surface
#EFEFF4
border
#CACACE
text
#0A0B0F
muted
#7C7C7F

Preview Lab

Preview with #4E5884

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

Preview Lab → · Contrast checker → · Palette generator →

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