#4C4AAE#4C4AAE

#4C4AAE is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.155 H 279.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4C4AAE
RGBrgb(76, 74, 174)
HSLhsl(241, 40%, 49%)
HSVhsv(241, 57%, 68%)
CMYKcmyk(56.3%, 57.5%, 0%, 31.8%)
CIE-LABlab(36.91, 30.00, -53.41)
CIE-LCHlch(36.91, 61.26, 299.32°)
OKLaboklab(46.82% 0.0255 -0.1531)
OKLCHoklch(46.82% 0.155 279.5)
XYZxyz(13.0669, 9.4892, 41.1792)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4AAE #ACAE4A
analogous
#4A7AAE #4C4AAE #7E4AAE
triadic
#4C4AAE #AE4C4A #4AAE4C
tetradic
#4C4AAE #AE4A7A #ACAE4A #4AAE7E
square
#4C4AAE #AE4A7A #ACAE4A #4AAE7E
split-complementary
#4C4AAE #AE7E4A #7AAE4A
monochromatic
#262558 #393883 #4C4AAE #7472C3 #9E9DD5

Accessibility & contrast

On white

7.25
#4C4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4C4AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4AAE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4AAE#FFFFFF#000000##FFFFFF
##4C4AAE1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#196175
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4c4aae;
/* rgb */ color: rgb(76, 74, 174);
/* oklch */ color: oklch(46.8% 0.155 279.5);
Tailwind
colors: {
  custom: {
    50: '#877cc7',
    500: '#4c4aae',
    950: '#000000',
  },
}
SCSS
$custom: #4c4aae;
$custom-light: #877cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4aae",
  "rgb": {
    "r": 76,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 241.2,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46823,
    "c": 0.15521,
    "h": 279.5
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C4AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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