#4C4CD8#4C4CD8

#4C4CD8 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.6% C 0.208 H 276.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#4C4CD8
RGBrgb(76, 76, 216)
HSLhsl(240, 64%, 57%)
HSVhsv(240, 65%, 85%)
CMYKcmyk(64.8%, 64.8%, 0%, 15.3%)
CIE-LABlab(40.67, 42.61, -71.77)
CIE-LCHlch(40.67, 83.47, 300.70°)
OKLaboklab(50.62% 0.0217 -0.207)
OKLCHoklch(50.62% 0.208 276)
XYZxyz(17.9555, 11.6617, 66.2571)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CD8 #D8D84C
analogous
#4C92D8 #4C4CD8 #924CD8
triadic
#4C4CD8 #D84C4C #4CD84C
tetradic
#4C4CD8 #D84C92 #D8D84C #4CD892
square
#4C4CD8 #D84C92 #D8D84C #4CD892
split-complementary
#4C4CD8 #D8924C #92D84C
monochromatic
#1E1E8B #2929BE #4C4CD8 #7E7EE3 #B1B1EE

Accessibility & contrast

On white

6.30
#4C4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4C4CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CD8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CD8#FFFFFF#000000##FFFFFF
##4C4CD81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#00708B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4c4cd8;
/* rgb */ color: rgb(76, 76, 216);
/* oklch */ color: oklch(50.6% 0.208 276.0);
Tailwind
colors: {
  custom: {
    50: '#8e7ee5',
    500: '#4c4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cd8;
$custom-light: #8e7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cd8",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 240,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50616,
    "c": 0.20816,
    "h": 276
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#4C4CD8
secondary
#DCDCA4
accent
#E741E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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