#4D7997#4D7997

#4D7997 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.067 H 239.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4D7997
RGBrgb(77, 121, 151)
HSLhsl(204, 32%, 45%)
HSVhsv(204, 49%, 59%)
CMYKcmyk(49%, 19.9%, 0%, 40.8%)
CIE-LABlab(48.87, -6.53, -20.90)
CIE-LCHlch(48.87, 21.90, 252.65°)
OKLaboklab(55.64% -0.0343 -0.0581)
OKLCHoklch(55.64% 0.067 239.4)
XYZxyz(15.4819, 17.4857, 31.8314)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7997 #976B4D
analogous
#4D9790 #4D7997 #4D5497
triadic
#4D7997 #974D79 #79974D
tetradic
#4D7997 #904D97 #976B4D #54974D
square
#4D7997 #904D97 #976B4D #54974D
split-complementary
#4D7997 #974D54 #97904D
monochromatic
#243846 #38596E #4D7997 #6D97B4 #95B4C9

Accessibility & contrast

On white

4.67
#4D7997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4D7997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7997
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7997#FFFFFF#000000##FFFFFF
##4D79971.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7998
Deuteranopia (green-blind)
#627196
Tritanopia (blue-blind)
#2A8183
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d7997;
/* rgb */ color: rgb(77, 121, 151);
/* oklch */ color: oklch(55.6% 0.067 239.4);
Tailwind
colors: {
  custom: {
    50: '#839fb5',
    500: '#4d7997',
    950: '#000000',
  },
}
SCSS
$custom: #4d7997;
$custom-light: #839fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7997",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 204.324,
    "s": 32.456,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.06747,
    "h": 239.4
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

primary
#4D7997
secondary
#B69C8A
accent
#8A5FC9
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0B0E11
muted
#7C7E80

Preview Lab

Preview with #4D7997

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

Preview Lab → · Contrast checker → · Palette generator →

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