#4A6799#4A6799

#4A6799 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 51.4% C 0.087 H 260.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4A6799
RGBrgb(74, 103, 153)
HSLhsl(218, 35%, 45%)
HSVhsv(218, 52%, 60%)
CMYKcmyk(51.6%, 32.7%, 0%, 40%)
CIE-LABlab(43.44, 4.16, -30.52)
CIE-LCHlch(43.44, 30.80, 277.76°)
OKLaboklab(51.36% -0.0138 -0.0858)
OKLCHoklch(51.36% 0.087 260.8)
XYZxyz(13.4221, 13.4553, 32.0207)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6799 #997C4A
analogous
#4A8F99 #4A6799 #554A99
triadic
#4A6799 #994A67 #67994A
tetradic
#4A6799 #994A8F #997C4A #4A9955
square
#4A6799 #994A8F #997C4A #4A9955
split-complementary
#4A6799 #99554A #8F994A
monochromatic
#222F47 #364B70 #4A6799 #6A86B7 #93A7CB

Accessibility & contrast

On white

5.69
#4A6799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4A6799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6799
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6799#FFFFFF#000000##FFFFFF
##4A67991.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9B
Deuteranopia (green-blind)
#4A6398
Tritanopia (blue-blind)
#257279
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a6799;
/* rgb */ color: rgb(74, 103, 153);
/* oklch */ color: oklch(51.4% 0.087 260.8);
Tailwind
colors: {
  custom: {
    50: '#8192b7',
    500: '#4a6799',
    950: '#000000',
  },
}
SCSS
$custom: #4a6799;
$custom-light: #8192b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6799",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 217.975,
    "s": 34.802,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.08693,
    "h": 260.8
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#4A6799
secondary
#B7A688
accent
#A35DCB
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4A6799

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

Preview Lab → · Contrast checker → · Palette generator →

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