#4A4CCC#4A4CCC

#4A4CCC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.193 H 276.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4A4CCC
RGBrgb(74, 76, 204)
HSLhsl(239, 56%, 55%)
HSVhsv(239, 64%, 80%)
CMYKcmyk(63.7%, 62.7%, 0%, 20%)
CIE-LABlab(39.55, 38.37, -66.70)
CIE-LCHlch(39.55, 76.94, 299.91°)
OKLaboklab(49.46% 0.0203 -0.1922)
OKLCHoklch(49.46% 0.193 276)
XYZxyz(16.3040, 10.9830, 58.3758)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4CCC #CCCA4A
analogous
#4A8DCC #4A4CCC #894ACC
triadic
#4A4CCC #CC4A4C #4CCC4A
tetradic
#4A4CCC #CC4A8D #CCCA4A #4ACC89
square
#4A4CCC #CC4A8D #CCCA4A #4ACC89
split-complementary
#4A4CCC #CC894A #8DCC4A
monochromatic
#222479 #3032A9 #4A4CCC #7A7BD9 #A9AAE7

Accessibility & contrast

On white

6.57
#4A4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4A4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4CCC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4CCC#FFFFFF#000000##FFFFFF
##4A4CCC1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a4ccc;
/* rgb */ color: rgb(74, 76, 204);
/* oklch */ color: oklch(49.5% 0.193 276.0);
Tailwind
colors: {
  custom: {
    50: '#8b7edd',
    500: '#4a4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ccc;
$custom-light: #8b7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ccc",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 239.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.19326,
    "h": 276
  },
  "luminance": 0.10984
}

Semantic roles & 50–950 ramp

primary
#4A4CCC
secondary
#D4D49D
accent
#DD48DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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