#4C4ED8#4C4ED8

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

Color values

HEX#4C4ED8
RGBrgb(76, 78, 216)
HSLhsl(239, 64%, 57%)
HSVhsv(239, 65%, 85%)
CMYKcmyk(64.8%, 63.9%, 0%, 15.3%)
CIE-LABlab(41.12, 41.42, -71.03)
CIE-LCHlch(41.12, 82.23, 300.25°)
OKLaboklab(50.94% 0.0202 -0.2048)
OKLCHoklch(50.94% 0.206 275.6)
XYZxyz(18.0955, 11.9416, 66.3038)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ED8 #D8D64C
analogous
#4C94D8 #4C4ED8 #904CD8
triadic
#4C4ED8 #D84C4E #4ED84C
tetradic
#4C4ED8 #D84C94 #D8D64C #4CD890
square
#4C4ED8 #D84C94 #D8D64C #4CD890
split-complementary
#4C4ED8 #D8904C #94D84C
monochromatic
#1E208B #292BBE #4C4ED8 #7E80E3 #B1B1EE

Accessibility & contrast

On white

6.20
#4C4ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4C4ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ED8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ED8#FFFFFF#000000##FFFFFF
##4C4ED81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c4ed8;
/* rgb */ color: rgb(76, 78, 216);
/* oklch */ color: oklch(50.9% 0.206 275.6);
Tailwind
colors: {
  custom: {
    50: '#8e80e5',
    500: '#4c4ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ed8;
$custom-light: #8e80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ed8",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 239.143,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.20584,
    "h": 275.6
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#4C4ED8
secondary
#DCDBA4
accent
#E541E7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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