#4C4ED6#4C4ED6

#4C4ED6 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.8% C 0.203 H 275.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4C4ED6
RGBrgb(76, 78, 214)
HSLhsl(239, 63%, 57%)
HSVhsv(239, 64%, 84%)
CMYKcmyk(64.5%, 63.6%, 0%, 16.1%)
CIE-LABlab(40.96, 40.76, -70.15)
CIE-LCHlch(40.96, 81.14, 300.16°)
OKLaboklab(50.77% 0.0203 -0.2023)
OKLCHoklch(50.77% 0.203 275.7)
XYZxyz(17.8385, 11.8388, 64.9503)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4ED6 #D6D44C
analogous
#4C93D6 #4C4ED6 #8F4CD6
triadic
#4C4ED6 #D64C4E #4ED64C
tetradic
#4C4ED6 #D64C93 #D6D44C #4CD68F
square
#4C4ED6 #D64C93 #D6D44C #4CD68F
split-complementary
#4C4ED6 #D68F4C #93D64C
monochromatic
#1F2188 #2B2DBA #4C4ED6 #7E7FE1 #B0B0ED

Accessibility & contrast

On white

6.24
#4C4ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4C4ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4ED6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4ED6#FFFFFF#000000##FFFFFF
##4C4ED61.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c4ed6;
/* rgb */ color: rgb(76, 78, 214);
/* oklch */ color: oklch(50.8% 0.203 275.7);
Tailwind
colors: {
  custom: {
    50: '#8d80e4',
    500: '#4c4ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4c4ed6;
$custom-light: #8d80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4ed6",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 239.13,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50773,
    "c": 0.20329,
    "h": 275.7
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#4C4ED6
secondary
#DBDAA3
accent
#E342E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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