#4E5C87#4E5C87

#4E5C87 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.2% C 0.072 H 269.8°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4E5C87
RGBrgb(78, 92, 135)
HSLhsl(225, 27%, 42%)
HSVhsv(225, 42%, 53%)
CMYKcmyk(42.2%, 31.9%, 0%, 47.1%)
CIE-LABlab(39.62, 6.42, -25.66)
CIE-LCHlch(39.62, 26.45, 284.04°)
OKLaboklab(48.17% -0.0003 -0.0717)
OKLCHoklch(48.17% 0.072 269.8)
XYZxyz(11.3409, 11.0227, 24.4470)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C87 #87794E
analogous
#4E7987 #4E5C87 #5D4E87
triadic
#4E5C87 #874E5C #5C874E
tetradic
#4E5C87 #874E79 #87794E #4E875D
square
#4E5C87 #874E79 #87794E #4E875D
split-complementary
#4E5C87 #875D4E #79874E
monochromatic
#212739 #384260 #4E5C87 #6A79A9 #909CBF

Accessibility & contrast

On white

6.55
#4E5C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E5C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5C87
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C87#FFFFFF#000000##FFFFFF
##4E5C871.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#3B656B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e5c87;
/* rgb */ color: rgb(78, 92, 135);
/* oklch */ color: oklch(48.2% 0.072 269.8);
Tailwind
colors: {
  custom: {
    50: '#828aaa',
    500: '#4e5c87',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c87;
$custom-light: #828aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c87",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 135
  },
  "hsl": {
    "h": 225.263,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48171,
    "c": 0.07175,
    "h": 269.8
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#4E5C87
secondary
#ACA285
accent
#AC65C3
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4E5C87

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

Preview Lab → · Contrast checker → · Palette generator →

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