#4C4E82#4C4E82

#4C4E82 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.6% C 0.085 H 280.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4C4E82
RGBrgb(76, 78, 130)
HSLhsl(238, 26%, 40%)
HSVhsv(238, 42%, 51%)
CMYKcmyk(41.5%, 40%, 0%, 49%)
CIE-LABlab(35.20, 13.25, -29.55)
CIE-LCHlch(35.20, 32.39, 294.15°)
OKLaboklab(44.64% 0.0157 -0.0831)
OKLCHoklch(44.64% 0.085 280.7)
XYZxyz(9.7330, 8.5966, 22.2612)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E82 #82804C
analogous
#4C6982 #4C4E82 #654C82
triadic
#4C4E82 #824C4E #4E824C
tetradic
#4C4E82 #824C69 #82804C #4C8265
square
#4C4E82 #824C69 #82804C #4C8265
split-complementary
#4C4E82 #82654C #69824C
monochromatic
#1F2035 #35375B #4C4E82 #6668A5 #8C8EBC

Accessibility & contrast

On white

7.72
#4C4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4C4E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E82
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E82#FFFFFF#000000##FFFFFF
##4C4E821.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5584
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#3C5862
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c4e82;
/* rgb */ color: rgb(76, 78, 130);
/* oklch */ color: oklch(44.6% 0.085 280.7);
Tailwind
colors: {
  custom: {
    50: '#807fa6',
    500: '#4c4e82',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e82;
$custom-light: #807fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e82",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 237.778,
    "s": 26.214,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.08457,
    "h": 280.7
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#4C4E82
secondary
#A8A781
accent
#BF65C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4C4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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