#4E4E87#4E4E87

#4E4E87 is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.1% C 0.092 H 282.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4E4E87
RGBrgb(78, 78, 135)
HSLhsl(240, 27%, 42%)
HSVhsv(240, 42%, 53%)
CMYKcmyk(42.2%, 42.2%, 0%, 47.1%)
CIE-LABlab(35.63, 15.36, -31.93)
CIE-LCHlch(35.63, 35.43, 295.69°)
OKLaboklab(45.1% 0.0192 -0.09)
OKLCHoklch(45.1% 0.092 282.1)
XYZxyz(10.2382, 8.8173, 24.0794)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4E87 #87874E
analogous
#4E6B87 #4E4E87 #6B4E87
triadic
#4E4E87 #874E4E #4E874E
tetradic
#4E4E87 #874E6B #87874E #4E876B
square
#4E4E87 #874E6B #87874E #4E876B
split-complementary
#4E4E87 #876B4E #6B874E
monochromatic
#212139 #383860 #4E4E87 #6A6AA9 #9090BF

Accessibility & contrast

On white

7.60
#4E4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4E87
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4E87#FFFFFF#000000##FFFFFF
##4E4E871.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#3D5964
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e4e87;
/* rgb */ color: rgb(78, 78, 135);
/* oklch */ color: oklch(45.1% 0.092 282.1);
Tailwind
colors: {
  custom: {
    50: '#827faa',
    500: '#4e4e87',
    950: '#000000',
  },
}
SCSS
$custom: #4e4e87;
$custom-light: #827faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4e87",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 240,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.092,
    "h": 282.1
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#4E4E87
secondary
#ACAC85
accent
#C365C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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