#4E4F86#4E4F86

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

Color values

HEX#4E4F86
RGBrgb(78, 79, 134)
HSLhsl(239, 26%, 42%)
HSVhsv(239, 42%, 53%)
CMYKcmyk(41.8%, 41%, 0%, 47.5%)
CIE-LABlab(35.85, 14.41, -30.96)
CIE-LCHlch(35.85, 34.15, 294.95°)
OKLaboklab(45.25% 0.0176 -0.0871)
OKLCHoklch(45.25% 0.089 281.4)
XYZxyz(10.2397, 8.9325, 23.7342)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4F86 #86854E
analogous
#4E6B86 #4E4F86 #694E86
triadic
#4E4F86 #864E4F #4F864E
tetradic
#4E4F86 #864E6B #86854E #4E8669
square
#4E4F86 #864E6B #86854E #4E8669
split-complementary
#4E4F86 #86694E #6B864E
monochromatic
#212139 #37385F #4E4F86 #696AA8 #9091BE

Accessibility & contrast

On white

7.54
#4E4F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E4F86
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4F86#FFFFFF#000000##FFFFFF
##4E4F861.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e4f86;
/* rgb */ color: rgb(78, 79, 134);
/* oklch */ color: oklch(45.3% 0.089 281.4);
Tailwind
colors: {
  custom: {
    50: '#8280a9',
    500: '#4e4f86',
    950: '#000000',
  },
}
SCSS
$custom: #4e4f86;
$custom-light: #8280a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4f86",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 238.929,
    "s": 26.415,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.08892,
    "h": 281.4
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E4F86

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

Preview Lab → · Contrast checker → · Palette generator →

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