#4A4AA2#4A4AA2

#4A4AA2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.139 H 279.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4A4AA2
RGBrgb(74, 74, 162)
HSLhsl(240, 37%, 46%)
HSVhsv(240, 54%, 64%)
CMYKcmyk(54.3%, 54.3%, 0%, 36.5%)
CIE-LABlab(35.91, 25.63, -47.87)
CIE-LCHlch(35.91, 54.30, 298.16°)
OKLaboklab(45.77% 0.0227 -0.1369)
OKLCHoklch(45.77% 0.139 279.4)
XYZxyz(11.7924, 8.9613, 35.2837)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4AA2 #A2A24A
analogous
#4A76A2 #4A4AA2 #764AA2
triadic
#4A4AA2 #A24A4A #4AA24A
tetradic
#4A4AA2 #A24A76 #A2A24A #4AA276
square
#4A4AA2 #A24A76 #A2A24A #4AA276
split-complementary
#4A4AA2 #A2764A #76A24A
monochromatic
#24244E #373778 #4A4AA2 #6D6DBC #9797CF

Accessibility & contrast

On white

7.52
#4A4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4A4AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4AA2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4AA2#FFFFFF#000000##FFFFFF
##4A4AA21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#0651A0
Tritanopia (blue-blind)
#225E6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a4aa2;
/* rgb */ color: rgb(74, 74, 162);
/* oklch */ color: oklch(45.8% 0.139 279.4);
Tailwind
colors: {
  custom: {
    50: '#847cbe',
    500: '#4a4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #4a4aa2;
$custom-light: #847cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4aa2",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4577,
    "c": 0.13874,
    "h": 279.4
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#4A4AA2
secondary
#BCBC8C
accent
#CD5BCD
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4A4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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