#4C4AAF#4C4AAF

#4C4AAF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.157 H 279.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4C4AAF
RGBrgb(76, 74, 175)
HSLhsl(241, 41%, 49%)
HSVhsv(241, 58%, 69%)
CMYKcmyk(56.6%, 57.7%, 0%, 31.4%)
CIE-LABlab(36.98, 30.33, -53.89)
CIE-LCHlch(36.98, 61.83, 299.37°)
OKLaboklab(46.9% 0.0255 -0.1545)
OKLCHoklch(46.9% 0.157 279.4)
XYZxyz(13.1647, 9.5283, 41.6946)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4AAF #ADAF4A
analogous
#4A7BAF #4C4AAF #7F4AAF
triadic
#4C4AAF #AF4C4A #4AAF4C
tetradic
#4C4AAF #AF4A7B #ADAF4A #4AAF7F
square
#4C4AAF #AF4A7B #ADAF4A #4AAF7F
split-complementary
#4C4AAF #AF7F4A #7BAF4A
monochromatic
#272659 #393884 #4C4AAF #7473C4 #9F9ED6

Accessibility & contrast

On white

7.23
#4C4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4C4AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4AAF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4AAF#FFFFFF#000000##FFFFFF
##4C4AAF1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#176275
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c4aaf;
/* rgb */ color: rgb(76, 74, 175);
/* oklch */ color: oklch(46.9% 0.157 279.4);
Tailwind
colors: {
  custom: {
    50: '#877cc8',
    500: '#4c4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4aaf;
$custom-light: #877cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4aaf",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 241.188,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.469,
    "c": 0.15659,
    "h": 279.4
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#4C4AAF
secondary
#C1C292
accent
#D057CE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4C4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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