#2C7F97#2C7F97

#2C7F97 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.7% C 0.086 H 220.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2C7F97
RGBrgb(44, 127, 151)
HSLhsl(193, 55%, 38%)
HSVhsv(193, 71%, 59%)
CMYKcmyk(70.9%, 15.9%, 0%, 40.8%)
CIE-LABlab(49.43, -16.65, -20.14)
CIE-LCHlch(49.43, 26.13, 230.42°)
OKLaboklab(55.73% -0.065 -0.0562)
OKLCHoklch(55.73% 0.086 220.8)
XYZxyz(14.2117, 17.9470, 31.9873)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F97 #97442C
analogous
#2C9779 #2C7F97 #2C4997
triadic
#2C7F97 #972C7F #7F972C
tetradic
#2C7F97 #792C97 #97442C #49972C
square
#2C7F97 #792C97 #97442C #49972C
split-complementary
#2C7F97 #972C49 #97792C
monochromatic
#102F38 #1E5768 #2C7F97 #3AA6C6 #6ABCD4

Accessibility & contrast

On white

4.58
#2C7F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2C7F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7F97
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F97#FFFFFF#000000##000000
##2C7F971.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C98
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7f97;
/* rgb */ color: rgb(44, 127, 151);
/* oklch */ color: oklch(55.7% 0.086 220.8);
Tailwind
colors: {
  custom: {
    50: '#74a4b5',
    500: '#2c7f97',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f97;
$custom-light: #74a4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f97",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 193.458,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55732,
    "c": 0.08598,
    "h": 220.8
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#2C7F97
secondary
#BA7865
accent
#6B4ADE
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2C7F97

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

Preview Lab → · Contrast checker → · Palette generator →

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