#4C4EEC#4C4EEC

#4C4EEC is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.231 H 274.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4C4EEC
RGBrgb(76, 78, 236)
HSLhsl(239, 81%, 61%)
HSVhsv(239, 68%, 93%)
CMYKcmyk(67.8%, 66.9%, 0%, 7.5%)
CIE-LABlab(42.82, 47.96, -79.62)
CIE-LCHlch(42.82, 92.95, 301.06°)
OKLaboklab(52.7% 0.0183 -0.23)
OKLCHoklch(52.7% 0.231 274.5)
XYZxyz(20.8402, 13.0395, 80.7592)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EEC #ECEA4C
analogous
#4C9EEC #4C4EEC #9A4CEC
triadic
#4C4EEC #EC4C4E #4EEC4C
tetradic
#4C4EEC #EC4C9E #ECEA4C #4CEC9A
square
#4C4EEC #EC4C9E #ECEA4C #4CEC9A
split-complementary
#4C4EEC #EC9A4C #9EEC4C
monochromatic
#1214AB #181BE3 #4C4EEC #8385F2 #BBBBF8

Accessibility & contrast

On white

5.82
#4C4EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4C4EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EEC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EEC#FFFFFF#000000##FFFFFF
##4C4EEC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#005EE9
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c4eec;
/* rgb */ color: rgb(76, 78, 236);
/* oklch */ color: oklch(52.7% 0.231 274.5);
Tailwind
colors: {
  custom: {
    50: '#9280f3',
    500: '#4c4eec',
    950: '#000000',
  },
}
SCSS
$custom: #4c4eec;
$custom-light: #9280f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4eec",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 239.25,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.23073,
    "h": 274.5
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#4C4EEC
secondary
#E8E7AC
accent
#DA08DD
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4C4EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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