#4C4DC7#4C4DC7

#4C4DC7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.185 H 276.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4C4DC7
RGBrgb(76, 77, 199)
HSLhsl(240, 52%, 54%)
HSVhsv(240, 62%, 78%)
CMYKcmyk(61.8%, 61.3%, 0%, 22%)
CIE-LABlab(39.52, 36.40, -63.84)
CIE-LCHlch(39.52, 73.49, 299.69°)
OKLaboklab(49.35% 0.0221 -0.1837)
OKLCHoklch(49.35% 0.185 276.8)
XYZxyz(15.9398, 10.9665, 55.2985)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DC7 #C7C64C
analogous
#4C8BC7 #4C4DC7 #894CC7
triadic
#4C4DC7 #C74C4D #4DC74C
tetradic
#4C4DC7 #C74C8B #C7C64C #4CC789
square
#4C4DC7 #C74C8B #C7C64C #4CC789
split-complementary
#4C4DC7 #C7894C #8BC74C
monochromatic
#242574 #3334A3 #4C4DC7 #7B7BD6 #A9AAE4

Accessibility & contrast

On white

6.58
#4C4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4C4DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DC7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DC7#FFFFFF#000000##FFFFFF
##4C4DC71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#006B83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4c4dc7;
/* rgb */ color: rgb(76, 77, 199);
/* oklch */ color: oklch(49.3% 0.185 276.8);
Tailwind
colors: {
  custom: {
    50: '#8b7fd9',
    500: '#4c4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #4c4dc7;
$custom-light: #8b7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4dc7",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 239.512,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.18506,
    "h": 276.8
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

primary
#4C4DC7
secondary
#D2D19D
accent
#DB4CDC
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4C4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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