#4C4CDC#4C4CDC

#4C4CDC is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.0% C 0.213 H 275.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4C4CDC
RGBrgb(76, 76, 220)
HSLhsl(240, 67%, 58%)
HSVhsv(240, 65%, 86%)
CMYKcmyk(65.5%, 65.5%, 0%, 13.7%)
CIE-LABlab(41.01, 43.92, -73.51)
CIE-LCHlch(41.01, 85.63, 300.86°)
OKLaboklab(50.97% 0.0213 -0.2121)
OKLCHoklch(50.97% 0.213 275.7)
XYZxyz(18.4790, 11.8711, 69.0138)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CDC #DCDC4C
analogous
#4C94DC #4C4CDC #944CDC
triadic
#4C4CDC #DC4C4C #4CDC4C
tetradic
#4C4CDC #DC4C94 #DCDC4C #4CDC94
square
#4C4CDC #DC4C94 #DCDC4C #4CDC94
split-complementary
#4C4CDC #DC944C #94DC4C
monochromatic
#1C1C91 #2626C4 #4C4CDC #7F7FE6 #B2B2F0

Accessibility & contrast

On white

6.22
#4C4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4C4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CDC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CDC#FFFFFF#000000##FFFFFF
##4C4CDC1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4cdc;
/* rgb */ color: rgb(76, 76, 220);
/* oklch */ color: oklch(51.0% 0.213 275.7);
Tailwind
colors: {
  custom: {
    50: '#8f7fe8',
    500: '#4c4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cdc;
$custom-light: #8f7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cdc",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.50965,
    "c": 0.21318,
    "h": 275.7
  },
  "luminance": 0.11873
}

Semantic roles & 50–950 ramp

primary
#4C4CDC
secondary
#DFDFA5
accent
#EA3EEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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