#4A4C99#4A4C99

#4A4C99 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.123 H 279.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4A4C99
RGBrgb(74, 76, 153)
HSLhsl(238, 35%, 45%)
HSVhsv(238, 52%, 60%)
CMYKcmyk(51.6%, 50.3%, 0%, 40%)
CIE-LABlab(35.84, 21.37, -42.57)
CIE-LCHlch(35.84, 47.64, 296.66°)
OKLaboklab(45.53% 0.0197 -0.1213)
OKLCHoklch(45.53% 0.123 279.2)
XYZxyz(11.1565, 8.9240, 31.2654)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4C99 #99974A
analogous
#4A7499 #4A4C99 #704A99
triadic
#4A4C99 #994A4C #4C994A
tetradic
#4A4C99 #994A74 #99974A #4A9970
square
#4A4C99 #994A74 #99974A #4A9970
split-complementary
#4A4C99 #99704A #74994A
monochromatic
#222347 #363870 #4A4C99 #6A6BB7 #9394CB

Accessibility & contrast

On white

7.54
#4A4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4A4C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4C99
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4C99#FFFFFF#000000##FFFFFF
##4A4C991.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#205197
Tritanopia (blue-blind)
#2A5D6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a4c99;
/* rgb */ color: rgb(74, 76, 153);
/* oklch */ color: oklch(45.5% 0.123 279.2);
Tailwind
colors: {
  custom: {
    50: '#827eb7',
    500: '#4a4c99',
    950: '#000000',
  },
}
SCSS
$custom: #4a4c99;
$custom-light: #827eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4c99",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 153
  },
  "hsl": {
    "h": 238.481,
    "s": 34.802,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45525,
    "c": 0.12284,
    "h": 279.2
  },
  "luminance": 0.08925
}

Semantic roles & 50–950 ramp

primary
#4A4C99
secondary
#B7B688
accent
#C85DCB
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4A4C99

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

Preview Lab → · Contrast checker → · Palette generator →

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