#4C4AAA#4C4AAA

#4C4AAA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.150 H 279.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4C4AAA
RGBrgb(76, 74, 170)
HSLhsl(241, 39%, 48%)
HSVhsv(241, 56%, 67%)
CMYKcmyk(55.3%, 56.5%, 0%, 33.3%)
CIE-LABlab(36.62, 28.68, -51.50)
CIE-LCHlch(36.62, 58.95, 299.12°)
OKLaboklab(46.52% 0.0254 -0.1475)
OKLCHoklch(46.52% 0.15 279.8)
XYZxyz(12.6827, 9.3355, 39.1560)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4AAA #A8AA4A
analogous
#4A78AA #4C4AAA #7C4AAA
triadic
#4C4AAA #AA4C4A #4AAA4C
tetradic
#4C4AAA #AA4A78 #A8AA4A #4AAA7C
square
#4C4AAA #AA4A78 #A8AA4A #4AAA7C
split-complementary
#4C4AAA #AA7C4A #78AA4A
monochromatic
#262555 #39377F #4C4AAA #7270C1 #9C9BD3

Accessibility & contrast

On white

7.32
#4C4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4C4AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4AAA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4AAA#FFFFFF#000000##FFFFFF
##4C4AAA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025AAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#1F6072
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4c4aaa;
/* rgb */ color: rgb(76, 74, 170);
/* oklch */ color: oklch(46.5% 0.150 279.8);
Tailwind
colors: {
  custom: {
    50: '#867cc4',
    500: '#4c4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4c4aaa;
$custom-light: #867cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4aaa",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 241.25,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.14965,
    "h": 279.8
  },
  "luminance": 0.09336
}

Semantic roles & 50–950 ramp

primary
#4C4AAA
secondary
#BFC090
accent
#CF59CD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4C4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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