#4C4EDA#4C4EDA

#4C4EDA is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.1% C 0.208 H 275.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4C4EDA
RGBrgb(76, 78, 218)
HSLhsl(239, 66%, 58%)
HSVhsv(239, 65%, 85%)
CMYKcmyk(65.1%, 64.2%, 0%, 14.5%)
CIE-LABlab(41.29, 42.08, -71.91)
CIE-LCHlch(41.29, 83.31, 300.33°)
OKLaboklab(51.12% 0.02 -0.2074)
OKLCHoklch(51.12% 0.208 275.5)
XYZxyz(18.3556, 12.0456, 67.6738)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EDA #DAD84C
analogous
#4C95DA #4C4EDA #914CDA
triadic
#4C4EDA #DA4C4E #4EDA4C
tetradic
#4C4EDA #DA4C95 #DAD84C #4CDA91
square
#4C4EDA #DA4C95 #DAD84C #4CDA91
split-complementary
#4C4EDA #DA914C #95DA4C
monochromatic
#1D1F8E #282AC1 #4C4EDA #7F80E4 #B1B2EF

Accessibility & contrast

On white

6.16
#4C4EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4C4EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EDA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EDA#FFFFFF#000000##FFFFFF
##4C4EDA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4eda;
/* rgb */ color: rgb(76, 78, 218);
/* oklch */ color: oklch(51.1% 0.208 275.5);
Tailwind
colors: {
  custom: {
    50: '#8e80e7',
    500: '#4c4eda',
    950: '#000000',
  },
}
SCSS
$custom: #4c4eda;
$custom-light: #8e80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4eda",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 239.155,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.20837,
    "h": 275.5
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#4C4EDA
secondary
#DDDDA4
accent
#E63FE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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