#4C4E7C#4C4E7C

#4C4E7C is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.3% C 0.075 H 281.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4C4E7C
RGBrgb(76, 78, 124)
HSLhsl(238, 24%, 39%)
HSVhsv(238, 39%, 49%)
CMYKcmyk(38.7%, 37.1%, 0%, 51.4%)
CIE-LABlab(34.88, 11.42, -26.34)
CIE-LCHlch(34.88, 28.71, 293.44°)
OKLaboklab(44.3% 0.0143 -0.0738)
OKLCHoklch(44.3% 0.075 281)
XYZxyz(9.3419, 8.4402, 20.2018)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E7C #7C7A4C
analogous
#4C667C #4C4E7C #624C7C
triadic
#4C4E7C #7C4C4E #4E7C4C
tetradic
#4C4E7C #7C4C66 #7C7A4C #4C7C62
square
#4C4E7C #7C4C66 #7C7A4C #4C7C62
split-complementary
#4C4E7C #7C624C #667C4C
monochromatic
#1D1E30 #353656 #4C4E7C #6567A0 #8B8DB8

Accessibility & contrast

On white

7.81
#4C4E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4C4E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E7C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E7C#FFFFFF#000000##FFFFFF
##4C4E7C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4e7c;
/* rgb */ color: rgb(76, 78, 124);
/* oklch */ color: oklch(44.3% 0.075 281.0);
Tailwind
colors: {
  custom: {
    50: '#807fa2',
    500: '#4c4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e7c;
$custom-light: #807fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e7c",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 237.5,
    "s": 24,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44297,
    "c": 0.07514,
    "h": 281
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#4C4E7C
secondary
#A4A380
accent
#BD67C0
background
#F7F7FA
surface
#EEEEF3
border
#C9C9CD
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #4C4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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