#4C4D7E#4C4D7E

#4C4D7E is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.080 H 281.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4C4D7E
RGBrgb(76, 77, 126)
HSLhsl(239, 25%, 40%)
HSVhsv(239, 40%, 49%)
CMYKcmyk(39.7%, 38.9%, 0%, 50.6%)
CIE-LABlab(34.70, 12.67, -27.86)
CIE-LCHlch(34.70, 30.61, 294.46°)
OKLaboklab(44.19% 0.0162 -0.0782)
OKLCHoklch(44.19% 0.08 281.7)
XYZxyz(9.3992, 8.3503, 20.8511)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4D7E #7E7D4C
analogous
#4C667E #4C4D7E #644C7E
triadic
#4C4D7E #7E4C4D #4D7E4C
tetradic
#4C4D7E #7E4C66 #7E7D4C #4C7E64
square
#4C4D7E #7E4C66 #7E7D4C #4C7E64
split-complementary
#4C4D7E #7E644C #667E4C
monochromatic
#1E1E32 #353658 #4C4D7E #6566A2 #8B8CB9

Accessibility & contrast

On white

7.86
#4C4D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4C4D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4D7E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4D7E#FFFFFF#000000##FFFFFF
##4C4D7E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5380
Deuteranopia (green-blind)
#3A507D
Tritanopia (blue-blind)
#3E575F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c4d7e;
/* rgb */ color: rgb(76, 77, 126);
/* oklch */ color: oklch(44.2% 0.080 281.7);
Tailwind
colors: {
  custom: {
    50: '#807ea3',
    500: '#4c4d7e',
    950: '#000000',
  },
}
SCSS
$custom: #4c4d7e;
$custom-light: #807ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4d7e",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 238.8,
    "s": 24.752,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44192,
    "c": 0.07984,
    "h": 281.7
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#4C4D7E
secondary
#A6A580
accent
#BF67C1
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4C4D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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