#4C4ACC#4C4ACC

#4C4ACC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.3% C 0.195 H 277.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4C4ACC
RGBrgb(76, 74, 204)
HSLhsl(241, 56%, 55%)
HSVhsv(241, 64%, 80%)
CMYKcmyk(62.7%, 63.7%, 0%, 20%)
CIE-LABlab(39.23, 39.88, -67.22)
CIE-LCHlch(39.23, 78.16, 300.68°)
OKLaboklab(49.26% 0.0243 -0.1937)
OKLCHoklch(49.26% 0.195 277.2)
XYZxyz(16.3248, 10.7924, 58.3379)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ACC #CACC4A
analogous
#4A89CC #4C4ACC #8D4ACC
triadic
#4C4ACC #CC4C4A #4ACC4C
tetradic
#4C4ACC #CC4A89 #CACC4A #4ACC8D
square
#4C4ACC #CC4A89 #CACC4A #4ACC8D
split-complementary
#4C4ACC #CC8D4A #89CC4A
monochromatic
#242279 #3230A9 #4C4ACC #7B7AD9 #AAA9E7

Accessibility & contrast

On white

6.65
#4C4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4C4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ACC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ACC#FFFFFF#000000##FFFFFF
##4C4ACC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4acc;
/* rgb */ color: rgb(76, 74, 204);
/* oklch */ color: oklch(49.3% 0.195 277.2);
Tailwind
colors: {
  custom: {
    50: '#8c7ddd',
    500: '#4c4acc',
    950: '#000000',
  },
}
SCSS
$custom: #4c4acc;
$custom-light: #8c7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4acc",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 240.923,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.1952,
    "h": 277.2
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#4C4ACC
secondary
#D4D49D
accent
#DF48DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4C4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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