#2C7B9D#2C7B9D

#2C7B9D is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.0% C 0.092 H 230.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C7B9D
RGBrgb(44, 123, 157)
HSLhsl(198, 56%, 39%)
HSVhsv(198, 72%, 62%)
CMYKcmyk(72%, 21.7%, 0%, 38.4%)
CIE-LABlab(48.43, -12.37, -25.20)
CIE-LCHlch(48.43, 28.07, 243.86°)
OKLaboklab(55.01% -0.0585 -0.0707)
OKLCHoklch(55.01% 0.092 230.4)
XYZxyz(14.2050, 17.1341, 34.4503)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B9D #9D4E2C
analogous
#2C9D87 #2C7B9D #2C439D
triadic
#2C7B9D #9D2C7B #7B9D2C
tetradic
#2C7B9D #872C9D #9D4E2C #439D2C
square
#2C7B9D #872C9D #9D4E2C #439D2C
split-complementary
#2C7B9D #9D2C43 #9D872C
monochromatic
#11303D #1F566D #2C7B9D #3D9FC9 #6DB7D6

Accessibility & contrast

On white

4.74
#2C7B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2C7B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7B9D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B9D#FFFFFF#000000##FFFFFF
##2C7B9D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A799F
Deuteranopia (green-blind)
#5A6E9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c7b9d;
/* rgb */ color: rgb(44, 123, 157);
/* oklch */ color: oklch(55.0% 0.092 230.4);
Tailwind
colors: {
  custom: {
    50: '#74a1ba',
    500: '#2c7b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b9d;
$custom-light: #74a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b9d",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 157
  },
  "hsl": {
    "h": 198.053,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55011,
    "c": 0.09177,
    "h": 230.4
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#2C7B9D
secondary
#BD8168
accent
#7648E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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