#4A6796#4A6796

#4A6796 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.2% C 0.083 H 259.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4A6796
RGBrgb(74, 103, 150)
HSLhsl(217, 34%, 44%)
HSVhsv(217, 51%, 59%)
CMYKcmyk(50.7%, 31.3%, 0%, 41.2%)
CIE-LABlab(43.30, 3.19, -28.96)
CIE-LCHlch(43.30, 29.13, 276.29°)
OKLaboklab(51.2% -0.0147 -0.0813)
OKLCHoklch(51.2% 0.083 259.8)
XYZxyz(13.1775, 13.3574, 30.7321)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6796 #96794A
analogous
#4A8D96 #4A6796 #534A96
triadic
#4A6796 #964A67 #67964A
tetradic
#4A6796 #964A8D #96794A #4A9653
square
#4A6796 #964A8D #96794A #4A9653
split-complementary
#4A6796 #96534A #8D964A
monochromatic
#222F44 #364B6D #4A6796 #6886B5 #91A7C9

Accessibility & contrast

On white

5.72
#4A6796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4A6796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6796
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6796#FFFFFF#000000##FFFFFF
##4A67961.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A98
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#287178
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a6796;
/* rgb */ color: rgb(74, 103, 150);
/* oklch */ color: oklch(51.2% 0.083 259.8);
Tailwind
colors: {
  custom: {
    50: '#8192b5',
    500: '#4a6796',
    950: '#000000',
  },
}
SCSS
$custom: #4a6796;
$custom-light: #8192b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6796",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 217.105,
    "s": 33.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.512,
    "c": 0.08262,
    "h": 259.8
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#4A6796
secondary
#B5A387
accent
#A15ECA
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4A6796

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

Preview Lab → · Contrast checker → · Palette generator →

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