#4C4CD1#4C4CD1

#4C4CD1 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.0% C 0.199 H 276.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4C4CD1
RGBrgb(76, 76, 209)
HSLhsl(240, 59%, 56%)
HSVhsv(240, 64%, 82%)
CMYKcmyk(63.6%, 63.6%, 0%, 18%)
CIE-LABlab(40.09, 40.32, -68.69)
CIE-LCHlch(40.09, 79.65, 300.41°)
OKLaboklab(50.01% 0.0223 -0.198)
OKLCHoklch(50.01% 0.199 276.4)
XYZxyz(17.0698, 11.3074, 61.5922)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CD1 #D1D14C
analogous
#4C8ED1 #4C4CD1 #8E4CD1
triadic
#4C4CD1 #D14C4C #4CD14C
tetradic
#4C4CD1 #D14C8E #D1D14C #4CD18E
square
#4C4CD1 #D14C8E #D1D14C #4CD18E
split-complementary
#4C4CD1 #D18E4C #8ED14C
monochromatic
#212181 #2E2EB2 #4C4CD1 #7D7DDE #ADADEA

Accessibility & contrast

On white

6.44
#4C4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4C4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CD1
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CD1#FFFFFF#000000##FFFFFF
##4C4CD11.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4cd1;
/* rgb */ color: rgb(76, 76, 209);
/* oklch */ color: oklch(50.0% 0.199 276.4);
Tailwind
colors: {
  custom: {
    50: '#8d7ee0',
    500: '#4c4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cd1;
$custom-light: #8d7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cd1",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 240,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50014,
    "c": 0.19925,
    "h": 276.4
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#4C4CD1
secondary
#D8D8A1
accent
#E246E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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