#4C4CE5#4C4CE5

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

Color values

HEX#4C4CE5
RGBrgb(76, 76, 229)
HSLhsl(240, 75%, 60%)
HSVhsv(240, 67%, 90%)
CMYKcmyk(66.8%, 66.8%, 0%, 10.2%)
CIE-LABlab(41.78, 46.85, -77.36)
CIE-LCHlch(41.78, 90.44, 301.20°)
OKLaboklab(51.76% 0.0204 -0.2234)
OKLCHoklch(51.76% 0.224 275.2)
XYZxyz(19.7031, 12.3607, 75.4611)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CE5 #E5E54C
analogous
#4C99E5 #4C4CE5 #994CE5
triadic
#4C4CE5 #E54C4C #4CE54C
tetradic
#4C4CE5 #E54C99 #E5E54C #4CE599
square
#4C4CE5 #E54C99 #E5E54C #4CE599
split-complementary
#4C4CE5 #E5994C #99E54C
monochromatic
#17179F #1F1FD5 #4C4CE5 #8181ED #B7B7F5

Accessibility & contrast

On white

6.05
#4C4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4C4CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CE5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CE5#FFFFFF#000000##FFFFFF
##4C4CE51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005CE2
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c4ce5;
/* rgb */ color: rgb(76, 76, 229);
/* oklch */ color: oklch(51.8% 0.224 275.2);
Tailwind
colors: {
  custom: {
    50: '#907fee',
    500: '#4c4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ce5;
$custom-light: #907fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ce5",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.22433,
    "h": 275.2
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#4C4CE5
secondary
#E4E4A9
accent
#F137F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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