#4C4DCD#4C4DCD

#4C4DCD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.193 H 276.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4C4DCD
RGBrgb(76, 77, 205)
HSLhsl(240, 56%, 55%)
HSVhsv(240, 63%, 80%)
CMYKcmyk(62.9%, 62.4%, 0%, 19.6%)
CIE-LABlab(40.00, 38.39, -66.54)
CIE-LCHlch(40.00, 76.82, 299.98°)
OKLaboklab(49.85% 0.0217 -0.1917)
OKLCHoklch(49.85% 0.193 276.5)
XYZxyz(16.6502, 11.2507, 59.0399)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DCD #CDCC4C
analogous
#4C8DCD #4C4DCD #8C4CCD
triadic
#4C4DCD #CD4C4D #4DCD4C
tetradic
#4C4DCD #CD4C8D #CDCC4C #4CCD8C
square
#4C4DCD #CD4C8D #CDCC4C #4CCD8C
split-complementary
#4C4DCD #CD8C4C #8DCD4C
monochromatic
#23237C #3031AC #4C4DCD #7C7DDA #ACACE8

Accessibility & contrast

On white

6.46
#4C4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4C4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DCD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DCD#FFFFFF#000000##FFFFFF
##4C4DCD1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#006D86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4dcd;
/* rgb */ color: rgb(76, 77, 205);
/* oklch */ color: oklch(49.8% 0.193 276.5);
Tailwind
colors: {
  custom: {
    50: '#8c7fdd',
    500: '#4c4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4c4dcd;
$custom-light: #8c7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4dcd",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 239.535,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.1929,
    "h": 276.5
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#4C4DCD
secondary
#D5D59F
accent
#DE48E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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