#2C7897#2C7897

#2C7897 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.088 H 228.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2C7897
RGBrgb(44, 120, 151)
HSLhsl(197, 55%, 38%)
HSVhsv(197, 71%, 59%)
CMYKcmyk(70.9%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.24, -12.74, -23.52)
CIE-LCHlch(47.24, 26.75, 241.55°)
OKLaboklab(53.98% -0.0576 -0.0659)
OKLCHoklch(53.98% 0.088 228.8)
XYZxyz(13.3388, 16.2013, 31.6963)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7897 #974B2C
analogous
#2C9780 #2C7897 #2C4297
triadic
#2C7897 #972C78 #78972C
tetradic
#2C7897 #802C97 #974B2C #42972C
square
#2C7897 #802C97 #974B2C #42972C
split-complementary
#2C7897 #972C42 #97802C
monochromatic
#102D38 #1E5268 #2C7897 #3A9DC6 #6AB5D4

Accessibility & contrast

On white

4.95
#2C7897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2C7897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7897
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7897#FFFFFF#000000##FFFFFF
##2C78971.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7897;
/* rgb */ color: rgb(44, 120, 151);
/* oklch */ color: oklch(54.0% 0.088 228.8);
Tailwind
colors: {
  custom: {
    50: '#739fb5',
    500: '#2c7897',
    950: '#000000',
  },
}
SCSS
$custom: #2c7897;
$custom-light: #739fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7897",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 197.383,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53976,
    "c": 0.08755,
    "h": 228.8
  },
  "luminance": 0.16203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7897

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

Preview Lab → · Contrast checker → · Palette generator →

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