#4E5D87#4E5D87

#4E5D87 is a mid, moderate blue. Relative luminance 0.112; OKLCH L 48.4% C 0.070 H 268.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4E5D87
RGBrgb(78, 93, 135)
HSLhsl(224, 27%, 42%)
HSVhsv(224, 42%, 53%)
CMYKcmyk(42.2%, 31.1%, 0%, 47.1%)
CIE-LABlab(39.91, 5.79, -25.21)
CIE-LCHlch(39.91, 25.87, 282.93°)
OKLaboklab(48.4% -0.0017 -0.0704)
OKLCHoklch(48.4% 0.07 268.7)
XYZxyz(11.4281, 11.1971, 24.4761)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5D87 #87784E
analogous
#4E7A87 #4E5D87 #5C4E87
triadic
#4E5D87 #874E5D #5D874E
tetradic
#4E5D87 #874E7A #87784E #4E875C
square
#4E5D87 #874E7A #87784E #4E875C
split-complementary
#4E5D87 #875C4E #7A874E
monochromatic
#212839 #384260 #4E5D87 #6A7AA9 #909DBF

Accessibility & contrast

On white

6.48
#4E5D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E5D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5D87
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5D87#FFFFFF#000000##FFFFFF
##4E5D871.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6189
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#3B666C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e5d87;
/* rgb */ color: rgb(78, 93, 135);
/* oklch */ color: oklch(48.4% 0.070 268.7);
Tailwind
colors: {
  custom: {
    50: '#828aaa',
    500: '#4e5d87',
    950: '#000000',
  },
}
SCSS
$custom: #4e5d87;
$custom-light: #828aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5d87",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 135
  },
  "hsl": {
    "h": 224.211,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.07046,
    "h": 268.7
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5D87

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

Preview Lab → · Contrast checker → · Palette generator →

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