#4A4AAD#4A4AAD

#4A4AAD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.154 H 278.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4A4AAD
RGBrgb(74, 74, 173)
HSLhsl(240, 40%, 48%)
HSVhsv(240, 57%, 68%)
CMYKcmyk(57.2%, 57.2%, 0%, 32.2%)
CIE-LABlab(36.69, 29.28, -53.18)
CIE-LCHlch(36.69, 60.71, 298.83°)
OKLaboklab(46.6% 0.023 -0.1525)
OKLCHoklch(46.6% 0.154 278.6)
XYZxyz(12.8133, 9.3697, 40.6604)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4AAD #ADAD4A
analogous
#4A7BAD #4A4AAD #7B4AAD
triadic
#4A4AAD #AD4A4A #4AAD4A
tetradic
#4A4AAD #AD4A7B #ADAD4A #4AAD7B
square
#4A4AAD #AD4A7B #ADAD4A #4AAD7B
split-complementary
#4A4AAD #AD7B4A #7BAD4A
monochromatic
#252557 #383882 #4A4AAD #7272C3 #9D9DD5

Accessibility & contrast

On white

7.31
#4A4AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4AAD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4AAD#FFFFFF#000000##FFFFFF
##4A4AAD1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#126174
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a4aad;
/* rgb */ color: rgb(74, 74, 173);
/* oklch */ color: oklch(46.6% 0.154 278.6);
Tailwind
colors: {
  custom: {
    50: '#857cc6',
    500: '#4a4aad',
    950: '#000000',
  },
}
SCSS
$custom: #4a4aad;
$custom-light: #857cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4aad",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 173
  },
  "hsl": {
    "h": 240,
    "s": 40.081,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.15422,
    "h": 278.6
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#4A4AAD
secondary
#C1C191
accent
#D058D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A4AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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