#4A4D97#4A4D97

#4A4D97 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.6% C 0.118 H 278.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4A4D97
RGBrgb(74, 77, 151)
HSLhsl(238, 34%, 44%)
HSVhsv(238, 51%, 59%)
CMYKcmyk(51%, 49%, 0%, 40.8%)
CIE-LABlab(35.98, 20.07, -41.14)
CIE-LCHlch(35.98, 45.77, 296.01°)
OKLaboklab(45.59% 0.0182 -0.117)
OKLCHoklch(45.59% 0.118 278.8)
XYZxyz(11.0621, 8.9973, 30.4259)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4D97 #97944A
analogous
#4A7497 #4A4D97 #6E4A97
triadic
#4A4D97 #974A4D #4D974A
tetradic
#4A4D97 #974A74 #97944A #4A976E
square
#4A4D97 #974A74 #97944A #4A976E
split-complementary
#4A4D97 #976E4A #74974A
monochromatic
#222345 #36386E #4A4D97 #696CB5 #9294CA

Accessibility & contrast

On white

7.50
#4A4D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4A4D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4D97
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4D97#FFFFFF#000000##FFFFFF
##4A4D971.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#255295
Tritanopia (blue-blind)
#2C5D6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4a4d97;
/* rgb */ color: rgb(74, 77, 151);
/* oklch */ color: oklch(45.6% 0.118 278.8);
Tailwind
colors: {
  custom: {
    50: '#827eb6',
    500: '#4a4d97',
    950: '#000000',
  },
}
SCSS
$custom: #4a4d97;
$custom-light: #827eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4d97",
  "rgb": {
    "r": 74,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 237.662,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45591,
    "c": 0.11844,
    "h": 278.8
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#4A4D97
secondary
#B6B487
accent
#C65DCA
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4A4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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