#4D6D9C#4D6D9C

#4D6D9C is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.1% C 0.083 H 257.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4D6D9C
RGBrgb(77, 109, 156)
HSLhsl(216, 34%, 46%)
HSVhsv(216, 51%, 61%)
CMYKcmyk(50.6%, 30.1%, 0%, 38.8%)
CIE-LABlab(45.52, 2.18, -29.03)
CIE-LCHlch(45.52, 29.12, 274.29°)
OKLaboklab(53.07% -0.0175 -0.0814)
OKLCHoklch(53.07% 0.083 257.9)
XYZxyz(14.5279, 14.9143, 33.5592)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6D9C #9C7C4D
analogous
#4D949C #4D6D9C #544D9C
triadic
#4D6D9C #9C4D6D #6D9C4D
tetradic
#4D6D9C #9C4D94 #9C7C4D #4D9C54
square
#4D6D9C #9C4D94 #9C7C4D #4D9C54
split-complementary
#4D6D9C #9C544D #949C4D
monochromatic
#25344A #395073 #4D6D9C #6F8CB8 #97ADCC

Accessibility & contrast

On white

5.27
#4D6D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4D6D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6D9C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6D9C#FFFFFF#000000##FFFFFF
##4D6D9C1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B709E
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#29777E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d6d9c;
/* rgb */ color: rgb(77, 109, 156);
/* oklch */ color: oklch(53.1% 0.083 257.9);
Tailwind
colors: {
  custom: {
    50: '#8396b9',
    500: '#4d6d9c',
    950: '#000000',
  },
}
SCSS
$custom: #4d6d9c;
$custom-light: #8396b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6d9c",
  "rgb": {
    "r": 77,
    "g": 109,
    "b": 156
  },
  "hsl": {
    "h": 215.696,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53073,
    "c": 0.08331,
    "h": 257.9
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#4D6D9C
secondary
#B8A78C
accent
#9E5ECA
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0B0D11
muted
#7C7E80

Preview Lab

Preview with #4D6D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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