#4A4E97#4A4E97

#4A4E97 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.8% C 0.117 H 278.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4A4E97
RGBrgb(74, 78, 151)
HSLhsl(237, 34%, 44%)
HSVhsv(237, 51%, 59%)
CMYKcmyk(51%, 48.3%, 0%, 40.8%)
CIE-LABlab(36.25, 19.42, -40.70)
CIE-LCHlch(36.25, 45.10, 295.51°)
OKLaboklab(45.8% 0.017 -0.1158)
OKLCHoklch(45.8% 0.117 278.3)
XYZxyz(11.1326, 9.1384, 30.4494)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E97 #97934A
analogous
#4A7597 #4A4E97 #6D4A97
triadic
#4A4E97 #974A4E #4E974A
tetradic
#4A4E97 #974A75 #97934A #4A976D
square
#4A4E97 #974A75 #97934A #4A976D
split-complementary
#4A4E97 #976D4A #75974A
monochromatic
#222445 #36396E #4A4E97 #696DB5 #9295CA

Accessibility & contrast

On white

7.43
#4A4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4A4E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E97
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E97#FFFFFF#000000##FFFFFF
##4A4E971.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E589A
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#2C5E6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4a4e97;
/* rgb */ color: rgb(74, 78, 151);
/* oklch */ color: oklch(45.8% 0.117 278.3);
Tailwind
colors: {
  custom: {
    50: '#827fb6',
    500: '#4a4e97',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e97;
$custom-light: #827fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e97",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 236.883,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45795,
    "c": 0.117,
    "h": 278.3
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#4A4E97
secondary
#B6B387
accent
#C55DCA
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4A4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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