#4C4EDC#4C4EDC

#4C4EDC is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.3% C 0.211 H 275.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4C4EDC
RGBrgb(76, 78, 220)
HSLhsl(239, 67%, 58%)
HSVhsv(239, 65%, 86%)
CMYKcmyk(65.5%, 64.5%, 0%, 13.7%)
CIE-LABlab(41.46, 42.73, -72.78)
CIE-LCHlch(41.46, 84.40, 300.42°)
OKLaboklab(51.29% 0.0199 -0.21)
OKLCHoklch(51.29% 0.211 275.4)
XYZxyz(18.6189, 12.1510, 69.0604)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4EDC #DCDA4C
analogous
#4C96DC #4C4EDC #924CDC
triadic
#4C4EDC #DC4C4E #4EDC4C
tetradic
#4C4EDC #DC4C96 #DCDA4C #4CDC92
square
#4C4EDC #DC4C96 #DCDA4C #4CDC92
split-complementary
#4C4EDC #DC924C #96DC4C
monochromatic
#1C1E91 #2629C4 #4C4EDC #7F81E6 #B2B3F0

Accessibility & contrast

On white

6.12
#4C4EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4C4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4EDC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4EDC#FFFFFF#000000##FFFFFF
##4C4EDC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#00738E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c4edc;
/* rgb */ color: rgb(76, 78, 220);
/* oklch */ color: oklch(51.3% 0.211 275.4);
Tailwind
colors: {
  custom: {
    50: '#8f80e8',
    500: '#4c4edc',
    950: '#000000',
  },
}
SCSS
$custom: #4c4edc;
$custom-light: #8f80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4edc",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 239.167,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51288,
    "c": 0.21091,
    "h": 275.4
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#4C4EDC
secondary
#DFDEA5
accent
#E83EEA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4C4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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