#4C4CC2#4C4CC2

#4C4CC2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.180 H 277.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4C4CC2
RGBrgb(76, 76, 194)
HSLhsl(240, 49%, 53%)
HSVhsv(240, 61%, 76%)
CMYKcmyk(60.8%, 60.8%, 0%, 23.9%)
CIE-LABlab(38.90, 35.36, -61.95)
CIE-LCHlch(38.90, 71.33, 299.72°)
OKLaboklab(48.76% 0.0232 -0.1782)
OKLCHoklch(48.76% 0.18 277.4)
XYZxyz(15.2994, 10.5993, 52.2681)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CC2 #C2C24C
analogous
#4C87C2 #4C4CC2 #874CC2
triadic
#4C4CC2 #C24C4C #4CC24C
tetradic
#4C4CC2 #C24C87 #C2C24C #4CC287
square
#4C4CC2 #C24C87 #C2C24C #4CC287
split-complementary
#4C4CC2 #C2874C #87C24C
monochromatic
#26266E #35359C #4C4CC2 #7A7AD2 #A7A7E1

Accessibility & contrast

On white

6.73
#4C4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4C4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CC2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CC2#FFFFFF#000000##FFFFFF
##4C4CC21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4cc2;
/* rgb */ color: rgb(76, 76, 194);
/* oklch */ color: oklch(48.8% 0.180 277.4);
Tailwind
colors: {
  custom: {
    50: '#8a7ed5',
    500: '#4c4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cc2;
$custom-light: #8a7ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cc2",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 240,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.17969,
    "h": 277.4
  },
  "luminance": 0.106
}

Semantic roles & 50–950 ramp

primary
#4C4CC2
secondary
#CECE9B
accent
#D94FD9
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4C4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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