#4E4687#4E4687

#4E4687 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.5% C 0.105 H 286.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E4687
RGBrgb(78, 70, 135)
HSLhsl(247, 32%, 40%)
HSVhsv(247, 48%, 53%)
CMYKcmyk(42.2%, 48.1%, 0%, 47.1%)
CIE-LABlab(33.45, 20.52, -35.38)
CIE-LCHlch(33.45, 40.90, 300.12°)
OKLaboklab(43.45% 0.0303 -0.1001)
OKLCHoklch(43.45% 0.105 286.8)
XYZxyz(9.7040, 7.7489, 23.9014)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4687 #7F8746
analogous
#465E87 #4E4687 #6F4687
triadic
#4E4687 #874E46 #46874E
tetradic
#4E4687 #87465E #7F8746 #46876F
square
#4E4687 #87465E #7F8746 #46876F
split-complementary
#4E4687 #876F46 #5E8746
monochromatic
#1F1C36 #37315F #4E4687 #685EAC #8E87C1

Accessibility & contrast

On white

8.24
#4E4687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E4687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4687
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4687#FFFFFF#000000##FFFFFF
##4E46871.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#3E5360
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e4687;
/* rgb */ color: rgb(78, 70, 135);
/* oklch */ color: oklch(43.5% 0.105 286.8);
Tailwind
colors: {
  custom: {
    50: '#8379aa',
    500: '#4e4687',
    950: '#000000',
  },
}
SCSS
$custom: #4e4687;
$custom-light: #8379aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4687",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 247.385,
    "s": 31.707,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43451,
    "c": 0.10457,
    "h": 286.8
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#4E4687
secondary
#A6AC7D
accent
#C860BB
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4687

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

Preview Lab → · Contrast checker → · Palette generator →

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