#4A4AAE#4A4AAE

#4A4AAE is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.156 H 278.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4A4AAE
RGBrgb(74, 74, 174)
HSLhsl(240, 40%, 49%)
HSVhsv(240, 57%, 68%)
CMYKcmyk(57.5%, 57.5%, 0%, 31.8%)
CIE-LABlab(36.76, 29.61, -53.66)
CIE-LCHlch(36.76, 61.29, 298.89°)
OKLaboklab(46.67% 0.023 -0.1539)
OKLCHoklch(46.67% 0.156 278.5)
XYZxyz(12.9104, 9.4085, 41.1719)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4AAE #AEAE4A
analogous
#4A7CAE #4A4AAE #7C4AAE
triadic
#4A4AAE #AE4A4A #4AAE4A
tetradic
#4A4AAE #AE4A7C #AEAE4A #4AAE7C
square
#4A4AAE #AE4A7C #AEAE4A #4AAE7C
split-complementary
#4A4AAE #AE7C4A #7CAE4A
monochromatic
#252558 #383883 #4A4AAE #7272C3 #9D9DD5

Accessibility & contrast

On white

7.29
#4A4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4A4AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4AAE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4AAE#FFFFFF#000000##FFFFFF
##4A4AAE1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#106275
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a4aae;
/* rgb */ color: rgb(74, 74, 174);
/* oklch */ color: oklch(46.7% 0.156 278.5);
Tailwind
colors: {
  custom: {
    50: '#867cc7',
    500: '#4a4aae',
    950: '#000000',
  },
}
SCSS
$custom: #4a4aae;
$custom-light: #867cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4aae",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46673,
    "c": 0.1556,
    "h": 278.5
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A4AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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