#4C4ED9#4C4ED9

#4C4ED9 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.0% C 0.207 H 275.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4C4ED9
RGBrgb(76, 78, 217)
HSLhsl(239, 65%, 57%)
HSVhsv(239, 65%, 85%)
CMYKcmyk(65%, 64.1%, 0%, 14.9%)
CIE-LABlab(41.21, 41.75, -71.47)
CIE-LCHlch(41.21, 82.77, 300.29°)
OKLaboklab(51.03% 0.0201 -0.2061)
OKLCHoklch(51.03% 0.207 275.6)
XYZxyz(18.2252, 11.9935, 66.9867)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ED9 #D9D74C
analogous
#4C94D9 #4C4ED9 #914CD9
triadic
#4C4ED9 #D94C4E #4ED94C
tetradic
#4C4ED9 #D94C94 #D9D74C #4CD991
square
#4C4ED9 #D94C94 #D9D74C #4CD991
split-complementary
#4C4ED9 #D9914C #94D94C
monochromatic
#1E1F8D #292BBF #4C4ED9 #7E80E4 #B1B2EE

Accessibility & contrast

On white

6.18
#4C4ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4C4ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ED9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ED9#FFFFFF#000000##FFFFFF
##4C4ED91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4ed9;
/* rgb */ color: rgb(76, 78, 217);
/* oklch */ color: oklch(51.0% 0.207 275.6);
Tailwind
colors: {
  custom: {
    50: '#8e80e6',
    500: '#4c4ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ed9;
$custom-light: #8e80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ed9",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 217
  },
  "hsl": {
    "h": 239.149,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.20711,
    "h": 275.6
  },
  "luminance": 0.11995
}

Semantic roles & 50–950 ramp

primary
#4C4ED9
secondary
#DDDCA4
accent
#E640E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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