#4C4E99#4C4E99

#4C4E99 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.1% C 0.120 H 279.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4C4E99
RGBrgb(76, 78, 153)
HSLhsl(238, 34%, 45%)
HSVhsv(238, 50%, 60%)
CMYKcmyk(50.3%, 49%, 0%, 40%)
CIE-LABlab(36.53, 20.55, -41.46)
CIE-LCHlch(36.53, 46.27, 296.37°)
OKLaboklab(46.08% 0.0197 -0.1179)
OKLCHoklch(46.08% 0.12 279.5)
XYZxyz(11.4529, 9.2846, 31.3194)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E99 #99974C
analogous
#4C7499 #4C4E99 #714C99
triadic
#4C4E99 #994C4E #4E994C
tetradic
#4C4E99 #994C74 #99974C #4C9971
square
#4C4E99 #994C74 #99974C #4C9971
split-complementary
#4C4E99 #99714C #74994C
monochromatic
#232447 #383970 #4C4E99 #6C6EB6 #9596CA

Accessibility & contrast

On white

7.35
#4C4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4C4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E99
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E99#FFFFFF#000000##FFFFFF
##4C4E991.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#2F5E6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c4e99;
/* rgb */ color: rgb(76, 78, 153);
/* oklch */ color: oklch(46.1% 0.120 279.5);
Tailwind
colors: {
  custom: {
    50: '#837fb7',
    500: '#4c4e99',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e99;
$custom-light: #837fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e99",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 238.442,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.11956,
    "h": 279.5
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#4C4E99
secondary
#B7B68A
accent
#C75ECA
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4C4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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