#2C7797#2C7797

#2C7797 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.7% C 0.088 H 230.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2C7797
RGBrgb(44, 119, 151)
HSLhsl(198, 55%, 38%)
HSVhsv(198, 71%, 59%)
CMYKcmyk(70.9%, 21.2%, 0%, 40.8%)
CIE-LABlab(46.92, -12.17, -24.00)
CIE-LCHlch(46.92, 26.91, 243.11°)
OKLaboklab(53.73% -0.0566 -0.0673)
OKLCHoklch(53.73% 0.088 230)
XYZxyz(13.2192, 15.9620, 31.6564)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7797 #974C2C
analogous
#2C9781 #2C7797 #2C4197
triadic
#2C7797 #972C77 #77972C
tetradic
#2C7797 #812C97 #974C2C #41972C
square
#2C7797 #812C97 #974C2C #41972C
split-complementary
#2C7797 #972C41 #97812C
monochromatic
#102C38 #1E5268 #2C7797 #3A9CC6 #6AB4D4

Accessibility & contrast

On white

5.01
#2C7797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2C7797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7797
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7797#FFFFFF#000000##FFFFFF
##2C77971.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677599
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7797;
/* rgb */ color: rgb(44, 119, 151);
/* oklch */ color: oklch(53.7% 0.088 230.0);
Tailwind
colors: {
  custom: {
    50: '#739eb5',
    500: '#2c7797',
    950: '#000000',
  },
}
SCSS
$custom: #2c7797;
$custom-light: #739eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7797",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 197.944,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.08791,
    "h": 230
  },
  "luminance": 0.15963
}

Semantic roles & 50–950 ramp

primary
#2C7797
secondary
#BA7E65
accent
#764ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7797

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

Preview Lab → · Contrast checker → · Palette generator →

#2C7797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva