#4E4F87#4E4F87

#4E4F87 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.3% C 0.090 H 281.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4E4F87
RGBrgb(78, 79, 135)
HSLhsl(239, 27%, 42%)
HSVhsv(239, 42%, 53%)
CMYKcmyk(42.2%, 41.5%, 0%, 47.1%)
CIE-LABlab(35.91, 14.71, -31.49)
CIE-LCHlch(35.91, 34.76, 295.04°)
OKLaboklab(45.31% 0.0179 -0.0887)
OKLCHoklch(45.31% 0.09 281.4)
XYZxyz(10.3098, 8.9605, 24.1033)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F87 #87864E
analogous
#4E6C87 #4E4F87 #6A4E87
triadic
#4E4F87 #874E4F #4F874E
tetradic
#4E4F87 #874E6C #87864E #4E876A
square
#4E4F87 #874E6C #87864E #4E876A
split-complementary
#4E4F87 #876A4E #6C874E
monochromatic
#212239 #383860 #4E4F87 #6A6BA9 #9091BF

Accessibility & contrast

On white

7.52
#4E4F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E4F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4F87
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F87#FFFFFF#000000##FFFFFF
##4E4F871.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5789
Deuteranopia (green-blind)
#385286
Tritanopia (blue-blind)
#3D5A64
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4f87;
/* rgb */ color: rgb(78, 79, 135);
/* oklch */ color: oklch(45.3% 0.090 281.4);
Tailwind
colors: {
  custom: {
    50: '#8280aa',
    500: '#4e4f87',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f87;
$custom-light: #8280aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f87",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 238.947,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.09046,
    "h": 281.4
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#4E4F87
secondary
#ACAB85
accent
#C165C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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