#4C4CE4#4C4CE4

#4C4CE4 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.7% C 0.223 H 275.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4C4CE4
RGBrgb(76, 76, 228)
HSLhsl(240, 74%, 60%)
HSVhsv(240, 67%, 89%)
CMYKcmyk(66.7%, 66.7%, 0%, 10.6%)
CIE-LABlab(41.70, 46.52, -76.94)
CIE-LCHlch(41.70, 89.91, 301.16°)
OKLaboklab(51.67% 0.0205 -0.2222)
OKLCHoklch(51.67% 0.223 275.3)
XYZxyz(19.5639, 12.3051, 74.7279)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CE4 #E4E44C
analogous
#4C98E4 #4C4CE4 #984CE4
triadic
#4C4CE4 #E44C4C #4CE44C
tetradic
#4C4CE4 #E44C98 #E4E44C #4CE498
square
#4C4CE4 #E44C98 #E4E44C #4CE498
split-complementary
#4C4CE4 #E4984C #98E44C
monochromatic
#18189E #2020D3 #4C4CE4 #8181EC #B6B6F4

Accessibility & contrast

On white

6.07
#4C4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4C4CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CE4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CE4#FFFFFF#000000##FFFFFF
##4C4CE41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005BE1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c4ce4;
/* rgb */ color: rgb(76, 76, 228);
/* oklch */ color: oklch(51.7% 0.223 275.3);
Tailwind
colors: {
  custom: {
    50: '#907fee',
    500: '#4c4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ce4;
$custom-light: #907fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ce4",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 240,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.51673,
    "c": 0.2231,
    "h": 275.3
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#4C4CE4
secondary
#E3E3A8
accent
#F037F0
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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