#2C7B97#2C7B97

#2C7B97 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.7% C 0.087 H 225.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C7B97
RGBrgb(44, 123, 151)
HSLhsl(196, 55%, 38%)
HSVhsv(196, 71%, 59%)
CMYKcmyk(70.9%, 18.5%, 0%, 40.8%)
CIE-LABlab(48.18, -14.43, -22.07)
CIE-LCHlch(48.18, 26.37, 236.82°)
OKLaboklab(54.73% -0.0608 -0.0617)
OKLCHoklch(54.73% 0.087 225.4)
XYZxyz(13.7053, 16.9342, 31.8185)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B97 #97482C
analogous
#2C977D #2C7B97 #2C4597
triadic
#2C7B97 #972C7B #7B972C
tetradic
#2C7B97 #7D2C97 #97482C #45972C
square
#2C7B97 #7D2C97 #97482C #45972C
split-complementary
#2C7B97 #972C45 #977D2C
monochromatic
#102E38 #1E5468 #2C7B97 #3AA1C6 #6AB8D4

Accessibility & contrast

On white

4.79
#2C7B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2C7B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7B97
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B97#FFFFFF#000000##FFFFFF
##2C7B971.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7898
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c7b97;
/* rgb */ color: rgb(44, 123, 151);
/* oklch */ color: oklch(54.7% 0.087 225.4);
Tailwind
colors: {
  custom: {
    50: '#73a1b5',
    500: '#2c7b97',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b97;
$custom-light: #73a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b97",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 151
  },
  "hsl": {
    "h": 195.701,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.08665,
    "h": 225.4
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#2C7B97
secondary
#BA7B65
accent
#704ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2C7B97

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

Preview Lab → · Contrast checker → · Palette generator →

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