#4C4CD7#4C4CD7

#4C4CD7 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.5% C 0.207 H 276.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4C4CD7
RGBrgb(76, 76, 215)
HSLhsl(240, 63%, 57%)
HSVhsv(240, 65%, 84%)
CMYKcmyk(64.7%, 64.7%, 0%, 15.7%)
CIE-LABlab(40.59, 42.29, -71.33)
CIE-LCHlch(40.59, 82.92, 300.66°)
OKLaboklab(50.53% 0.0218 -0.2057)
OKLCHoklch(50.53% 0.207 276)
XYZxyz(17.8267, 11.6102, 65.5784)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CD7 #D7D74C
analogous
#4C92D7 #4C4CD7 #924CD7
triadic
#4C4CD7 #D74C4C #4CD74C
tetradic
#4C4CD7 #D74C92 #D7D74C #4CD792
square
#4C4CD7 #D74C92 #D7D74C #4CD792
split-complementary
#4C4CD7 #D7924C #92D74C
monochromatic
#1F1F8A #2A2ABC #4C4CD7 #7E7EE2 #B0B0ED

Accessibility & contrast

On white

6.32
#4C4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4C4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CD7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CD7#FFFFFF#000000##FFFFFF
##4C4CD71.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DB
Deuteranopia (green-blind)
#0059D4
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c4cd7;
/* rgb */ color: rgb(76, 76, 215);
/* oklch */ color: oklch(50.5% 0.207 276.0);
Tailwind
colors: {
  custom: {
    50: '#8e7ee4',
    500: '#4c4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cd7;
$custom-light: #8e7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cd7",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50529,
    "c": 0.20689,
    "h": 276
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#4C4CD7
secondary
#DCDCA3
accent
#E641E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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