#4E5F87#4E5F87

#4E5F87 is a mid, moderate blue. Relative luminance 0.116; OKLCH L 48.9% C 0.068 H 266.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4E5F87
RGBrgb(78, 95, 135)
HSLhsl(222, 27%, 42%)
HSVhsv(222, 42%, 53%)
CMYKcmyk(42.2%, 29.6%, 0%, 47.1%)
CIE-LABlab(40.50, 4.54, -24.30)
CIE-LCHlch(40.50, 24.72, 280.58°)
OKLaboklab(48.85% -0.0044 -0.0678)
OKLCHoklch(48.85% 0.068 266.3)
XYZxyz(11.6059, 11.5528, 24.5353)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F87 #87764E
analogous
#4E7C87 #4E5F87 #5A4E87
triadic
#4E5F87 #874E5F #5F874E
tetradic
#4E5F87 #874E7C #87764E #4E875A
square
#4E5F87 #874E7C #87764E #4E875A
split-complementary
#4E5F87 #875A4E #7C874E
monochromatic
#212839 #384460 #4E5F87 #6A7CA9 #909EBF

Accessibility & contrast

On white

6.34
#4E5F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E5F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5F87
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F87#FFFFFF#000000##FFFFFF
##4E5F871.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516289
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#3B676D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e5f87;
/* rgb */ color: rgb(78, 95, 135);
/* oklch */ color: oklch(48.9% 0.068 266.3);
Tailwind
colors: {
  custom: {
    50: '#828caa',
    500: '#4e5f87',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f87;
$custom-light: #828caa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f87",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 222.105,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.06795,
    "h": 266.3
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#4E5F87
secondary
#ACA085
accent
#A765C3
background
#F8F8FA
surface
#EFF0F4
border
#CACBCE
text
#0B0C10
muted
#7C7D7F

Preview Lab

Preview with #4E5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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