#4C4CD6#4C4CD6

#4C4CD6 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.4% C 0.206 H 276.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4C4CD6
RGBrgb(76, 76, 214)
HSLhsl(240, 63%, 57%)
HSVhsv(240, 64%, 84%)
CMYKcmyk(64.5%, 64.5%, 0%, 16.1%)
CIE-LABlab(40.51, 41.96, -70.89)
CIE-LCHlch(40.51, 82.38, 300.62°)
OKLaboklab(50.44% 0.0219 -0.2044)
OKLCHoklch(50.44% 0.206 276.1)
XYZxyz(17.6986, 11.5589, 64.9037)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CD6 #D6D64C
analogous
#4C91D6 #4C4CD6 #914CD6
triadic
#4C4CD6 #D64C4C #4CD64C
tetradic
#4C4CD6 #D64C91 #D6D64C #4CD691
square
#4C4CD6 #D64C91 #D6D64C #4CD691
split-complementary
#4C4CD6 #D6914C #91D64C
monochromatic
#1F1F88 #2B2BBA #4C4CD6 #7E7EE1 #B0B0ED

Accessibility & contrast

On white

6.34
#4C4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4C4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CD6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CD6#FFFFFF#000000##FFFFFF
##4C4CD61.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0059D3
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c4cd6;
/* rgb */ color: rgb(76, 76, 214);
/* oklch */ color: oklch(50.4% 0.206 276.1);
Tailwind
colors: {
  custom: {
    50: '#8e7ee4',
    500: '#4c4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cd6;
$custom-light: #8e7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cd6",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 240,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.20562,
    "h": 276.1
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#4C4CD6
secondary
#DBDBA3
accent
#E642E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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