#4A6798#4A6798

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

Color values

HEX#4A6798
RGBrgb(74, 103, 152)
HSLhsl(218, 35%, 44%)
HSVhsv(218, 51%, 60%)
CMYKcmyk(51.3%, 32.2%, 0%, 40.4%)
CIE-LABlab(43.39, 3.84, -30.00)
CIE-LCHlch(43.39, 30.24, 277.29°)
OKLaboklab(51.31% -0.0141 -0.0843)
OKLCHoklch(51.31% 0.085 260.5)
XYZxyz(13.3399, 13.4224, 31.5875)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6798 #987B4A
analogous
#4A8E98 #4A6798 #544A98
triadic
#4A6798 #984A67 #67984A
tetradic
#4A6798 #984A8E #987B4A #4A9854
square
#4A6798 #984A8E #987B4A #4A9854
split-complementary
#4A6798 #98544A #8E984A
monochromatic
#222F46 #364B6F #4A6798 #6986B6 #92A7CA

Accessibility & contrast

On white

5.70
#4A6798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A6798
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6798#FFFFFF#000000##FFFFFF
##4A67981.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9A
Deuteranopia (green-blind)
#4B6397
Tritanopia (blue-blind)
#267279
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a6798;
/* rgb */ color: rgb(74, 103, 152);
/* oklch */ color: oklch(51.3% 0.085 260.5);
Tailwind
colors: {
  custom: {
    50: '#8192b6',
    500: '#4a6798',
    950: '#000000',
  },
}
SCSS
$custom: #4a6798;
$custom-light: #8192b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6798",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 217.692,
    "s": 34.513,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51306,
    "c": 0.08549,
    "h": 260.5
  },
  "luminance": 0.13423
}

Semantic roles & 50–950 ramp

primary
#4A6798
secondary
#B6A588
accent
#A25DCB
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4A6798

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

Preview Lab → · Contrast checker → · Palette generator →

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