#4C4CC6#4C4CC6

#4C4CC6 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.185 H 277.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4C4CC6
RGBrgb(76, 76, 198)
HSLhsl(240, 52%, 54%)
HSVhsv(240, 62%, 78%)
CMYKcmyk(61.6%, 61.6%, 0%, 22.4%)
CIE-LABlab(39.21, 36.69, -63.77)
CIE-LCHlch(39.21, 73.57, 299.91°)
OKLaboklab(49.09% 0.023 -0.1835)
OKLCHoklch(49.09% 0.185 277.1)
XYZxyz(15.7547, 10.7814, 54.6659)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CC6 #C6C64C
analogous
#4C89C6 #4C4CC6 #894CC6
triadic
#4C4CC6 #C64C4C #4CC64C
tetradic
#4C4CC6 #C64C89 #C6C64C #4CC689
square
#4C4CC6 #C64C89 #C6C64C #4CC689
split-complementary
#4C4CC6 #C6894C #89C64C
monochromatic
#252573 #3333A1 #4C4CC6 #7A7AD5 #A9A9E4

Accessibility & contrast

On white

6.65
#4C4CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4C4CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CC6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CC6#FFFFFF#000000##FFFFFF
##4C4CC61.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4cc6;
/* rgb */ color: rgb(76, 76, 198);
/* oklch */ color: oklch(49.1% 0.185 277.1);
Tailwind
colors: {
  custom: {
    50: '#8b7ed8',
    500: '#4c4cc6',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cc6;
$custom-light: #8b7ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cc6",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 198
  },
  "hsl": {
    "h": 240,
    "s": 51.695,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49092,
    "c": 0.18498,
    "h": 277.1
  },
  "luminance": 0.10783
}

Semantic roles & 50–950 ramp

primary
#4C4CC6
secondary
#D1D19D
accent
#DB4DDB
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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