#4A4AAA#4A4AAA

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

Color values

HEX#4A4AAA
RGBrgb(74, 74, 170)
HSLhsl(240, 39%, 48%)
HSVhsv(240, 56%, 67%)
CMYKcmyk(56.5%, 56.5%, 0%, 33.3%)
CIE-LABlab(36.47, 28.28, -51.75)
CIE-LCHlch(36.47, 58.97, 298.66°)
OKLaboklab(46.37% 0.023 -0.1483)
OKLCHoklch(46.37% 0.15 278.8)
XYZxyz(12.5262, 9.2549, 39.1487)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4AAA #AAAA4A
analogous
#4A7AAA #4A4AAA #7A4AAA
triadic
#4A4AAA #AA4A4A #4AAA4A
tetradic
#4A4AAA #AA4A7A #AAAA4A #4AAA7A
square
#4A4AAA #AA4A7A #AAAA4A #4AAA7A
split-complementary
#4A4AAA #AA7A4A #7AAA4A
monochromatic
#252555 #37377F #4A4AAA #7070C1 #9B9BD3

Accessibility & contrast

On white

7.37
#4A4AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4A4AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4AAA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4AAA#FFFFFF#000000##FFFFFF
##4A4AAA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015AAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#186072
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a4aaa;
/* rgb */ color: rgb(74, 74, 170);
/* oklch */ color: oklch(46.4% 0.150 278.8);
Tailwind
colors: {
  custom: {
    50: '#857cc4',
    500: '#4a4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #4a4aaa;
$custom-light: #857cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4aaa",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.15004,
    "h": 278.8
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#4A4AAA
secondary
#C0C090
accent
#CF59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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