#4C4CC4#4C4CC4

#4C4CC4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.9% C 0.182 H 277.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#4C4CC4
RGBrgb(76, 76, 196)
HSLhsl(240, 50%, 53%)
HSVhsv(240, 61%, 77%)
CMYKcmyk(61.2%, 61.2%, 0%, 23.1%)
CIE-LABlab(39.05, 36.02, -62.86)
CIE-LCHlch(39.05, 72.45, 299.82°)
OKLaboklab(48.93% 0.0231 -0.1809)
OKLCHoklch(48.93% 0.182 277.3)
XYZxyz(15.5255, 10.6897, 53.4590)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CC4 #C4C44C
analogous
#4C88C4 #4C4CC4 #884CC4
triadic
#4C4CC4 #C44C4C #4CC44C
tetradic
#4C4CC4 #C44C88 #C4C44C #4CC488
square
#4C4CC4 #C44C88 #C4C44C #4CC488
split-complementary
#4C4CC4 #C4884C #88C44C
monochromatic
#252571 #34349F #4C4CC4 #7A7AD3 #A8A8E2

Accessibility & contrast

On white

6.69
#4C4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4C4CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CC4
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CC4#FFFFFF#000000##FFFFFF
##4C4CC41.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4cc4;
/* rgb */ color: rgb(76, 76, 196);
/* oklch */ color: oklch(48.9% 0.182 277.3);
Tailwind
colors: {
  custom: {
    50: '#8a7ed7',
    500: '#4c4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cc4;
$custom-light: #8a7ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cc4",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 240,
    "s": 50.42,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.18234,
    "h": 277.3
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#4C4CC4
secondary
#D0D09C
accent
#DA4EDA
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4C4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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