#4A4AA5#4A4AA5

#4A4AA5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.143 H 279.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#4A4AA5
RGBrgb(74, 74, 165)
HSLhsl(240, 38%, 47%)
HSVhsv(240, 55%, 65%)
CMYKcmyk(55.2%, 55.2%, 0%, 35.3%)
CIE-LABlab(36.12, 26.62, -49.34)
CIE-LCHlch(36.12, 56.06, 298.35°)
OKLaboklab(45.99% 0.0228 -0.1412)
OKLCHoklch(45.99% 0.143 279.2)
XYZxyz(12.0622, 9.0692, 36.7049)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4AA5 #A5A54A
analogous
#4A78A5 #4A4AA5 #784AA5
triadic
#4A4AA5 #A54A4A #4AA54A
tetradic
#4A4AA5 #A54A78 #A5A54A #4AA578
square
#4A4AA5 #A54A78 #A5A54A #4AA578
split-complementary
#4A4AA5 #A5784A #78A54A
monochromatic
#242450 #37377B #4A4AA5 #6E6EBE #9898D1

Accessibility & contrast

On white

7.46
#4A4AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4A4AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4AA5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4AA5#FFFFFF#000000##FFFFFF
##4A4AA51.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#1F5F70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4a4aa5;
/* rgb */ color: rgb(74, 74, 165);
/* oklch */ color: oklch(46.0% 0.143 279.2);
Tailwind
colors: {
  custom: {
    50: '#847cc0',
    500: '#4a4aa5',
    950: '#000000',
  },
}
SCSS
$custom: #4a4aa5;
$custom-light: #847cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4aa5",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 240,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45991,
    "c": 0.143,
    "h": 279.2
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#4A4AA5
secondary
#BDBD8E
accent
#CE5ACE
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4A4AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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