#4C4DCA#4C4DCA

#4C4DCA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.189 H 276.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4C4DCA
RGBrgb(76, 77, 202)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 62%, 79%)
CMYKcmyk(62.4%, 61.9%, 0%, 20.8%)
CIE-LABlab(39.76, 37.40, -65.19)
CIE-LCHlch(39.76, 75.16, 299.84°)
OKLaboklab(49.6% 0.0219 -0.1877)
OKLCHoklch(49.6% 0.189 276.7)
XYZxyz(16.2916, 11.1072, 57.1510)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DCA #CAC94C
analogous
#4C8CCA #4C4DCA #8A4CCA
triadic
#4C4DCA #CA4C4D #4DCA4C
tetradic
#4C4DCA #CA4C8C #CAC94C #4CCA8A
square
#4C4DCA #CA4C8C #CAC94C #4CCA8A
split-complementary
#4C4DCA #CA8A4C #8CCA4C
monochromatic
#242478 #3232A7 #4C4DCA #7B7CD8 #AAABE6

Accessibility & contrast

On white

6.52
#4C4DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4C4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DCA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DCA#FFFFFF#000000##FFFFFF
##4C4DCA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c4dca;
/* rgb */ color: rgb(76, 77, 202);
/* oklch */ color: oklch(49.6% 0.189 276.7);
Tailwind
colors: {
  custom: {
    50: '#8b7fdb',
    500: '#4c4dca',
    950: '#000000',
  },
}
SCSS
$custom: #4c4dca;
$custom-light: #8b7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4dca",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 239.524,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49595,
    "c": 0.18899,
    "h": 276.7
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#4C4DCA
secondary
#D4D39E
accent
#DC4ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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