#4C4CCD#4C4CCD

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

Color values

HEX#4C4CCD
RGBrgb(76, 76, 205)
HSLhsl(240, 56%, 55%)
HSVhsv(240, 63%, 80%)
CMYKcmyk(62.9%, 62.9%, 0%, 19.6%)
CIE-LABlab(39.77, 39.00, -66.92)
CIE-LCHlch(39.77, 77.45, 300.23°)
OKLaboklab(49.68% 0.0226 -0.1928)
OKLCHoklch(49.68% 0.194 276.7)
XYZxyz(16.5808, 11.1118, 59.0168)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CCD #CDCD4C
analogous
#4C8CCD #4C4CCD #8C4CCD
triadic
#4C4CCD #CD4C4C #4CCD4C
tetradic
#4C4CCD #CD4C8C #CDCD4C #4CCD8C
square
#4C4CCD #CD4C8C #CDCD4C #4CCD8C
split-complementary
#4C4CCD #CD8C4C #8CCD4C
monochromatic
#23237C #3030AC #4C4CCD #7C7CDA #ACACE8

Accessibility & contrast

On white

6.52
#4C4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4C4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CCD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CCD#FFFFFF#000000##FFFFFF
##4C4CCD1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4ccd;
/* rgb */ color: rgb(76, 76, 205);
/* oklch */ color: oklch(49.7% 0.194 276.7);
Tailwind
colors: {
  custom: {
    50: '#8c7edd',
    500: '#4c4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ccd;
$custom-light: #8c7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ccd",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49675,
    "c": 0.1941,
    "h": 276.7
  },
  "luminance": 0.11113
}

Semantic roles & 50–950 ramp

primary
#4C4CCD
secondary
#D5D59F
accent
#E048E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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