#4E5F84#4E5F84

#4E5F84 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.7% C 0.063 H 265.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4E5F84
RGBrgb(78, 95, 132)
HSLhsl(221, 26%, 41%)
HSVhsv(221, 41%, 52%)
CMYKcmyk(40.9%, 28%, 0%, 48.2%)
CIE-LABlab(40.36, 3.63, -22.69)
CIE-LCHlch(40.36, 22.98, 279.09°)
OKLaboklab(48.7% -0.0054 -0.0632)
OKLCHoklch(48.7% 0.063 265.1)
XYZxyz(11.3977, 11.4695, 23.4386)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F84 #84734E
analogous
#4E7A84 #4E5F84 #584E84
triadic
#4E5F84 #844E5F #5F844E
tetradic
#4E5F84 #844E7A #84734E #4E8458
square
#4E5F84 #844E7A #84734E #4E8458
split-complementary
#4E5F84 #84584E #7A844E
monochromatic
#212837 #37435E #4E5F84 #697CA6 #8F9EBD

Accessibility & contrast

On white

6.38
#4E5F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4E5F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F84
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F84#FFFFFF#000000##FFFFFF
##4E5F841.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526286
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#3C676C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5f84;
/* rgb */ color: rgb(78, 95, 132);
/* oklch */ color: oklch(48.7% 0.063 265.1);
Tailwind
colors: {
  custom: {
    50: '#828ca8',
    500: '#4e5f84',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f84;
$custom-light: #828ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f84",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 132
  },
  "hsl": {
    "h": 221.111,
    "s": 25.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48702,
    "c": 0.06342,
    "h": 265.1
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#4E5F84
secondary
#AA9E84
accent
#A566C2
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0A0C0F
muted
#7C7D7F

Preview Lab

Preview with #4E5F84

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

Preview Lab → · Contrast checker → · Palette generator →

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