#4C4CE6#4C4CE6

#4C4CE6 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.226 H 275.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4C4CE6
RGBrgb(76, 76, 230)
HSLhsl(240, 75%, 60%)
HSVhsv(240, 67%, 90%)
CMYKcmyk(67%, 67%, 0%, 9.8%)
CIE-LABlab(41.87, 47.17, -77.79)
CIE-LCHlch(41.87, 90.97, 301.23°)
OKLaboklab(51.85% 0.0203 -0.2246)
OKLCHoklch(51.85% 0.226 275.2)
XYZxyz(19.8431, 12.4168, 76.1985)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CE6 #E6E64C
analogous
#4C99E6 #4C4CE6 #994CE6
triadic
#4C4CE6 #E64C4C #4CE64C
tetradic
#4C4CE6 #E64C99 #E6E64C #4CE699
square
#4C4CE6 #E64C99 #E6E64C #4CE699
split-complementary
#4C4CE6 #E6994C #99E64C
monochromatic
#1717A1 #1E1ED7 #4C4CE6 #8282ED #B7B7F5

Accessibility & contrast

On white

6.03
#4C4CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4C4CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CE6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CE6#FFFFFF#000000##FFFFFF
##4C4CE61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005CE3
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c4ce6;
/* rgb */ color: rgb(76, 76, 230);
/* oklch */ color: oklch(51.9% 0.226 275.2);
Tailwind
colors: {
  custom: {
    50: '#917fef',
    500: '#4c4ce6',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ce6;
$custom-light: #917fef;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ce6",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 240,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.22556,
    "h": 275.2
  },
  "luminance": 0.12419
}

Semantic roles & 50–950 ramp

primary
#4C4CE6
secondary
#E5E5A9
accent
#F236F2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C4CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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