#2C7A97#2C7A97

#2C7A97 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.5% C 0.087 H 226.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2C7A97
RGBrgb(44, 122, 151)
HSLhsl(196, 55%, 38%)
HSVhsv(196, 71%, 59%)
CMYKcmyk(70.9%, 19.2%, 0%, 40.8%)
CIE-LABlab(47.86, -13.87, -22.55)
CIE-LCHlch(47.86, 26.48, 238.41°)
OKLaboklab(54.48% -0.0597 -0.0631)
OKLCHoklch(54.48% 0.087 226.6)
XYZxyz(13.5819, 16.6874, 31.7773)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A97 #97492C
analogous
#2C977E #2C7A97 #2C4497
triadic
#2C7A97 #972C7A #7A972C
tetradic
#2C7A97 #7E2C97 #97492C #44972C
square
#2C7A97 #7E2C97 #97492C #44972C
split-complementary
#2C7A97 #972C44 #977E2C
monochromatic
#102D38 #1E5468 #2C7A97 #3AA0C6 #6AB7D4

Accessibility & contrast

On white

4.84
#2C7A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2C7A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A97
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A97#FFFFFF#000000##FFFFFF
##2C7A971.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7898
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c7a97;
/* rgb */ color: rgb(44, 122, 151);
/* oklch */ color: oklch(54.5% 0.087 226.6);
Tailwind
colors: {
  custom: {
    50: '#73a0b5',
    500: '#2c7a97',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a97;
$custom-light: #73a0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a97",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 196.262,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54477,
    "c": 0.08692,
    "h": 226.6
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#2C7A97
secondary
#BA7C65
accent
#724ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7A97

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

Preview Lab → · Contrast checker → · Palette generator →

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