#4A4C97#4A4C97

#4A4C97 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.4% C 0.120 H 279.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4A4C97
RGBrgb(74, 76, 151)
HSLhsl(238, 34%, 44%)
HSVhsv(238, 51%, 59%)
CMYKcmyk(51%, 49.7%, 0%, 40.8%)
CIE-LABlab(35.71, 20.72, -41.57)
CIE-LCHlch(35.71, 46.44, 296.49°)
OKLaboklab(45.39% 0.0194 -0.1183)
OKLCHoklch(45.39% 0.12 279.3)
XYZxyz(10.9927, 8.8585, 30.4028)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4C97 #97954A
analogous
#4A7397 #4A4C97 #6F4A97
triadic
#4A4C97 #974A4C #4C974A
tetradic
#4A4C97 #974A73 #97954A #4A976F
square
#4A4C97 #974A73 #97954A #4A976F
split-complementary
#4A4C97 #976F4A #73974A
monochromatic
#222345 #36376E #4A4C97 #696BB5 #9293CA

Accessibility & contrast

On white

7.58
#4A4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4A4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4C97
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4C97#FFFFFF#000000##FFFFFF
##4A4C971.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#2C5C6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a4c97;
/* rgb */ color: rgb(74, 76, 151);
/* oklch */ color: oklch(45.4% 0.120 279.3);
Tailwind
colors: {
  custom: {
    50: '#827eb6',
    500: '#4a4c97',
    950: '#000000',
  },
}
SCSS
$custom: #4a4c97;
$custom-light: #827eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4c97",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 238.442,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.1199,
    "h": 279.3
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#4A4C97
secondary
#B6B487
accent
#C75DCA
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4A4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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