#4A6797#4A6797

#4A6797 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.3% C 0.084 H 260.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4A6797
RGBrgb(74, 103, 151)
HSLhsl(217, 34%, 44%)
HSVhsv(217, 51%, 59%)
CMYKcmyk(51%, 31.8%, 0%, 40.8%)
CIE-LABlab(43.34, 3.51, -29.48)
CIE-LCHlch(43.34, 29.69, 276.80°)
OKLaboklab(51.25% -0.0144 -0.0828)
OKLCHoklch(51.25% 0.084 260.1)
XYZxyz(13.2583, 13.3898, 31.1580)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6797 #977A4A
analogous
#4A8E97 #4A6797 #544A97
triadic
#4A6797 #974A67 #67974A
tetradic
#4A6797 #974A8E #977A4A #4A9754
square
#4A6797 #974A8E #977A4A #4A9754
split-complementary
#4A6797 #97544A #8E974A
monochromatic
#222F45 #364B6E #4A6797 #6986B5 #92A7CA

Accessibility & contrast

On white

5.71
#4A6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4A6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6797
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6797#FFFFFF#000000##FFFFFF
##4A67971.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A99
Deuteranopia (green-blind)
#4C6396
Tritanopia (blue-blind)
#277178
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a6797;
/* rgb */ color: rgb(74, 103, 151);
/* oklch */ color: oklch(51.3% 0.084 260.1);
Tailwind
colors: {
  custom: {
    50: '#8192b6',
    500: '#4a6797',
    950: '#000000',
  },
}
SCSS
$custom: #4a6797;
$custom-light: #8192b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6797",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 217.403,
    "s": 34.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51253,
    "c": 0.08405,
    "h": 260.1
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#4A6797
secondary
#B6A487
accent
#A15DCA
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4A6797

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

Preview Lab → · Contrast checker → · Palette generator →

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