#2C7997#2C7997

#2C7997 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.087 H 227.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2C7997
RGBrgb(44, 121, 151)
HSLhsl(197, 55%, 38%)
HSVhsv(197, 71%, 59%)
CMYKcmyk(70.9%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.55, -13.31, -23.04)
CIE-LCHlch(47.55, 26.60, 239.99°)
OKLaboklab(54.23% -0.0587 -0.0645)
OKLCHoklch(54.23% 0.087 227.7)
XYZxyz(13.4597, 16.4431, 31.7366)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7997 #974A2C
analogous
#2C977F #2C7997 #2C4497
triadic
#2C7997 #972C79 #79972C
tetradic
#2C7997 #7F2C97 #974A2C #44972C
square
#2C7997 #7F2C97 #974A2C #44972C
split-complementary
#2C7997 #972C44 #977F2C
monochromatic
#102D38 #1E5368 #2C7997 #3A9FC6 #6AB6D4

Accessibility & contrast

On white

4.90
#2C7997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2C7997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7997
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7997#FFFFFF#000000##FFFFFF
##2C79971.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c7997;
/* rgb */ color: rgb(44, 121, 151);
/* oklch */ color: oklch(54.2% 0.087 227.7);
Tailwind
colors: {
  custom: {
    50: '#739fb5',
    500: '#2c7997',
    950: '#000000',
  },
}
SCSS
$custom: #2c7997;
$custom-light: #739fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7997",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 196.822,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54226,
    "c": 0.08721,
    "h": 227.7
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#2C7997
secondary
#BA7D65
accent
#734ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7997

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

Preview Lab → · Contrast checker → · Palette generator →

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