#4C4CCC#4C4CCC

#4C4CCC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.193 H 276.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4C4CCC
RGBrgb(76, 76, 204)
HSLhsl(240, 56%, 55%)
HSVhsv(240, 63%, 80%)
CMYKcmyk(62.7%, 62.7%, 0%, 20%)
CIE-LABlab(39.69, 38.67, -66.47)
CIE-LCHlch(39.69, 76.90, 300.19°)
OKLaboklab(49.59% 0.0227 -0.1915)
OKLCHoklch(49.59% 0.193 276.7)
XYZxyz(16.4605, 11.0637, 58.3831)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CCC #CCCC4C
analogous
#4C8CCC #4C4CCC #8C4CCC
triadic
#4C4CCC #CC4C4C #4CCC4C
tetradic
#4C4CCC #CC4C8C #CCCC4C #4CCC8C
square
#4C4CCC #CC4C8C #CCCC4C #4CCC8C
split-complementary
#4C4CCC #CC8C4C #8CCC4C
monochromatic
#23237B #3131AA #4C4CCC #7C7CDA #ABABE7

Accessibility & contrast

On white

6.54
#4C4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4C4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CCC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CCC#FFFFFF#000000##FFFFFF
##4C4CCC1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c4ccc;
/* rgb */ color: rgb(76, 76, 204);
/* oklch */ color: oklch(49.6% 0.193 276.7);
Tailwind
colors: {
  custom: {
    50: '#8c7edd',
    500: '#4c4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ccc;
$custom-light: #8c7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ccc",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.19281,
    "h": 276.7
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#4C4CCC
secondary
#D5D59F
accent
#DF49DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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