#4C4C97#4C4C97

#4C4C97 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.5% C 0.120 H 280.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4C4C97
RGBrgb(76, 76, 151)
HSLhsl(240, 33%, 45%)
HSVhsv(240, 50%, 59%)
CMYKcmyk(49.7%, 49.7%, 0%, 40.8%)
CIE-LABlab(35.87, 21.19, -41.31)
CIE-LCHlch(35.87, 46.43, 297.16°)
OKLaboklab(45.55% 0.0219 -0.1175)
OKLCHoklch(45.55% 0.12 280.6)
XYZxyz(11.1491, 8.9392, 30.4101)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4C97 #97974C
analogous
#4C7297 #4C4C97 #724C97
triadic
#4C4C97 #974C4C #4C974C
tetradic
#4C4C97 #974C72 #97974C #4C9772
square
#4C4C97 #974C72 #97974C #4C9772
split-complementary
#4C4C97 #97724C #72974C
monochromatic
#232346 #38386E #4C4C97 #6B6BB5 #9494C9

Accessibility & contrast

On white

7.53
#4C4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4C4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4C97
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4C97#FFFFFF#000000##FFFFFF
##4C4C971.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#255295
Tritanopia (blue-blind)
#305C6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c4c97;
/* rgb */ color: rgb(76, 76, 151);
/* oklch */ color: oklch(45.5% 0.120 280.6);
Tailwind
colors: {
  custom: {
    50: '#837eb6',
    500: '#4c4c97',
    950: '#000000',
  },
}
SCSS
$custom: #4c4c97;
$custom-light: #837eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4c97",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.11951,
    "h": 280.6
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#4C4C97
secondary
#B6B689
accent
#C95FC9
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4C4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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