#4A5A97#4A5A97

#4A5A97 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.3% C 0.100 H 271.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4A5A97
RGBrgb(74, 90, 151)
HSLhsl(228, 34%, 44%)
HSVhsv(228, 51%, 59%)
CMYKcmyk(51%, 40.4%, 0%, 40.8%)
CIE-LABlab(39.58, 11.70, -35.40)
CIE-LCHlch(39.58, 37.28, 288.28°)
OKLaboklab(48.34% 0.002 -0.1001)
OKLCHoklch(48.34% 0.1 271.2)
XYZxyz(12.0643, 11.0018, 30.7600)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5A97 #97874A
analogous
#4A8197 #4A5A97 #614A97
triadic
#4A5A97 #974A5A #5A974A
tetradic
#4A5A97 #974A81 #97874A #4A9761
square
#4A5A97 #974A81 #97874A #4A9761
split-complementary
#4A5A97 #97614A #81974A
monochromatic
#222945 #36426E #4A5A97 #6979B5 #929DCA

Accessibility & contrast

On white

6.56
#4A5A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4A5A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5A97
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5A97#FFFFFF#000000##FFFFFF
##4A5A971.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426199
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#2A6771
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a5a97;
/* rgb */ color: rgb(74, 90, 151);
/* oklch */ color: oklch(48.3% 0.100 271.2);
Tailwind
colors: {
  custom: {
    50: '#8188b6',
    500: '#4a5a97',
    950: '#000000',
  },
}
SCSS
$custom: #4a5a97;
$custom-light: #8188b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5a97",
  "rgb": {
    "r": 74,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 227.532,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.10014,
    "h": 271.2
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#4A5A97
secondary
#B6AC87
accent
#B45DCA
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4A5A97

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

Preview Lab → · Contrast checker → · Palette generator →

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