#4C4ED7#4C4ED7

#4C4ED7 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.9% C 0.205 H 275.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4C4ED7
RGBrgb(76, 78, 215)
HSLhsl(239, 63%, 57%)
HSVhsv(239, 65%, 84%)
CMYKcmyk(64.7%, 63.7%, 0%, 15.7%)
CIE-LABlab(41.04, 41.09, -70.59)
CIE-LCHlch(41.04, 81.68, 300.20°)
OKLaboklab(50.86% 0.0203 -0.2036)
OKLCHoklch(50.86% 0.205 275.7)
XYZxyz(17.9666, 11.8900, 65.6250)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ED7 #D7D54C
analogous
#4C93D7 #4C4ED7 #904CD7
triadic
#4C4ED7 #D74C4E #4ED74C
tetradic
#4C4ED7 #D74C93 #D7D54C #4CD790
square
#4C4ED7 #D74C93 #D7D54C #4CD790
split-complementary
#4C4ED7 #D7904C #93D74C
monochromatic
#1F208A #2A2CBC #4C4ED7 #7E7FE2 #B0B1ED

Accessibility & contrast

On white

6.22
#4C4ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4C4ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ED7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ED7#FFFFFF#000000##FFFFFF
##4C4ED71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4ed7;
/* rgb */ color: rgb(76, 78, 215);
/* oklch */ color: oklch(50.9% 0.205 275.7);
Tailwind
colors: {
  custom: {
    50: '#8e80e4',
    500: '#4c4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ed7;
$custom-light: #8e80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ed7",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 239.137,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.20457,
    "h": 275.7
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#4C4ED7
secondary
#DCDBA3
accent
#E441E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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