#4C4ECC#4C4ECC

#4C4ECC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.190 H 276.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4C4ECC
RGBrgb(76, 78, 204)
HSLhsl(239, 56%, 55%)
HSVhsv(239, 63%, 80%)
CMYKcmyk(62.7%, 61.8%, 0%, 20%)
CIE-LABlab(40.15, 37.45, -65.71)
CIE-LCHlch(40.15, 75.63, 299.68°)
OKLaboklab(49.93% 0.021 -0.1892)
OKLCHoklch(49.93% 0.19 276.3)
XYZxyz(16.6004, 11.3436, 58.4298)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ECC #CCCA4C
analogous
#4C8ECC #4C4ECC #8A4CCC
triadic
#4C4ECC #CC4C4E #4ECC4C
tetradic
#4C4ECC #CC4C8E #CCCA4C #4CCC8A
square
#4C4ECC #CC4C8E #CCCA4C #4CCC8A
split-complementary
#4C4ECC #CC8A4C #8ECC4C
monochromatic
#23247B #3132AA #4C4ECC #7C7DDA #ABACE7

Accessibility & contrast

On white

6.42
#4C4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4C4ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ECC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ECC#FFFFFF#000000##FFFFFF
##4C4ECC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c4ecc;
/* rgb */ color: rgb(76, 78, 204);
/* oklch */ color: oklch(49.9% 0.190 276.3);
Tailwind
colors: {
  custom: {
    50: '#8c80dc',
    500: '#4c4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ecc;
$custom-light: #8c80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ecc",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 239.063,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49932,
    "c": 0.19039,
    "h": 276.3
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#4C4ECC
secondary
#D5D49F
accent
#DD49DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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