#4D6799#4D6799

#4D6799 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.5% C 0.086 H 262.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4D6799
RGBrgb(77, 103, 153)
HSLhsl(219, 33%, 45%)
HSVhsv(219, 50%, 60%)
CMYKcmyk(49.7%, 32.7%, 0%, 40%)
CIE-LABlab(43.62, 4.91, -30.22)
CIE-LCHlch(43.62, 30.62, 279.23°)
OKLaboklab(51.55% -0.0108 -0.0849)
OKLCHoklch(51.55% 0.086 262.8)
XYZxyz(13.6587, 13.5773, 32.0318)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6799 #997F4D
analogous
#4D8D99 #4D6799 #594D99
triadic
#4D6799 #994D67 #67994D
tetradic
#4D6799 #994D8D #997F4D #4D9959
square
#4D6799 #994D8D #997F4D #4D9959
split-complementary
#4D6799 #99594D #8D994D
monochromatic
#243048 #394C70 #4D6799 #6D86B6 #96A8CA

Accessibility & contrast

On white

5.65
#4D6799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4D6799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6799
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6799#FFFFFF#000000##FFFFFF
##4D67991.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9B
Deuteranopia (green-blind)
#4C6498
Tritanopia (blue-blind)
#2D7279
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d6799;
/* rgb */ color: rgb(77, 103, 153);
/* oklch */ color: oklch(51.5% 0.086 262.8);
Tailwind
colors: {
  custom: {
    50: '#8392b7',
    500: '#4d6799',
    950: '#000000',
  },
}
SCSS
$custom: #4d6799;
$custom-light: #8392b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6799",
  "rgb": {
    "r": 77,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 219.474,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51547,
    "c": 0.0856,
    "h": 262.8
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#4D6799
secondary
#B7A88B
accent
#A55FC9
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0B0C11
muted
#7C7D80

Preview Lab

Preview with #4D6799

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

Preview Lab → · Contrast checker → · Palette generator →

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