#4A6794#4A6794

#4A6794 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.1% C 0.080 H 258.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4A6794
RGBrgb(74, 103, 148)
HSLhsl(216, 33%, 44%)
HSVhsv(216, 50%, 58%)
CMYKcmyk(50%, 30.4%, 0%, 42%)
CIE-LABlab(43.20, 2.55, -27.91)
CIE-LCHlch(43.20, 28.03, 275.22°)
OKLaboklab(51.1% -0.0153 -0.0783)
OKLCHoklch(51.1% 0.08 258.9)
XYZxyz(13.0178, 13.2936, 29.8912)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6794 #94774A
analogous
#4A8C94 #4A6794 #524A94
triadic
#4A6794 #944A67 #67944A
tetradic
#4A6794 #944A8C #94774A #4A9452
square
#4A6794 #944A8C #94774A #4A9452
split-complementary
#4A6794 #94524A #8C944A
monochromatic
#212E42 #364B6B #4A6794 #6885B3 #91A6C8

Accessibility & contrast

On white

5.74
#4A6794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4A6794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6794
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6794#FFFFFF#000000##FFFFFF
##4A67941.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566A96
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#297177
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a6794;
/* rgb */ color: rgb(74, 103, 148);
/* oklch */ color: oklch(51.1% 0.080 258.9);
Tailwind
colors: {
  custom: {
    50: '#8192b3',
    500: '#4a6794',
    950: '#000000',
  },
}
SCSS
$custom: #4a6794;
$custom-light: #8192b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6794",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 148
  },
  "hsl": {
    "h": 216.486,
    "s": 33.333,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.07976,
    "h": 258.9
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#4A6794
secondary
#B4A286
accent
#9F5EC9
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4A6794

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

Preview Lab → · Contrast checker → · Palette generator →

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