#4C4E86#4C4E86

#4C4E86 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.9% C 0.091 H 280.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4C4E86
RGBrgb(76, 78, 134)
HSLhsl(238, 28%, 41%)
HSVhsv(238, 43%, 53%)
CMYKcmyk(43.3%, 41.8%, 0%, 47.5%)
CIE-LABlab(35.41, 14.49, -31.67)
CIE-LCHlch(35.41, 34.83, 294.59°)
OKLaboklab(44.88% 0.0166 -0.0893)
OKLCHoklch(44.88% 0.091 280.5)
XYZxyz(10.0067, 8.7061, 23.7028)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E86 #86844C
analogous
#4C6B86 #4C4E86 #674C86
triadic
#4C4E86 #864C4E #4E864C
tetradic
#4C4E86 #864C6B #86844C #4C8667
square
#4C4E86 #864C6B #86844C #4C8667
split-complementary
#4C4E86 #86674C #6B864C
monochromatic
#202138 #36375F #4C4E86 #6769A9 #8E8FBF

Accessibility & contrast

On white

7.66
#4C4E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4C4E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E86
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E86#FFFFFF#000000##FFFFFF
##4C4E861.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5588
Deuteranopia (green-blind)
#375185
Tritanopia (blue-blind)
#3A5963
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c4e86;
/* rgb */ color: rgb(76, 78, 134);
/* oklch */ color: oklch(44.9% 0.091 280.5);
Tailwind
colors: {
  custom: {
    50: '#817fa9',
    500: '#4c4e86',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e86;
$custom-light: #817fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e86",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 237.931,
    "s": 27.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44875,
    "c": 0.09079,
    "h": 280.5
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#4C4E86
secondary
#ABAA83
accent
#C164C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4C4E86

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

Preview Lab → · Contrast checker → · Palette generator →

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