#4C4EEA#4C4EEA

#4C4EEA is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.228 H 274.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4C4EEA
RGBrgb(76, 78, 234)
HSLhsl(239, 79%, 61%)
HSVhsv(239, 68%, 92%)
CMYKcmyk(67.5%, 66.7%, 0%, 8.2%)
CIE-LABlab(42.65, 47.31, -78.78)
CIE-LCHlch(42.65, 91.89, 300.99°)
OKLaboklab(52.52% 0.0185 -0.2275)
OKLCHoklch(52.52% 0.228 274.6)
XYZxyz(20.5512, 12.9239, 79.2375)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EEA #EAE84C
analogous
#4C9DEA #4C4EEA #994CEA
triadic
#4C4EEA #EA4C4E #4EEA4C
tetradic
#4C4EEA #EA4C9D #EAE84C #4CEA99
square
#4C4EEA #EA4C9D #EAE84C #4CEA99
split-complementary
#4C4EEA #EA994C #9DEA4C
monochromatic
#1416A8 #1A1DDF #4C4EEA #8384F0 #BABAF7

Accessibility & contrast

On white

5.86
#4C4EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4C4EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EEA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EEA#FFFFFF#000000##FFFFFF
##4C4EEA1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#005DE7
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4c4eea;
/* rgb */ color: rgb(76, 78, 234);
/* oklch */ color: oklch(52.5% 0.228 274.6);
Tailwind
colors: {
  custom: {
    50: '#9180f2',
    500: '#4c4eea',
    950: '#000000',
  },
}
SCSS
$custom: #4c4eea;
$custom-light: #9180f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4eea",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 239.241,
    "s": 79,
    "l": 60.784
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.22829,
    "h": 274.6
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#4C4EEA
secondary
#E7E6AB
accent
#D90ADB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C4EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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