#2C7899#2C7899

#2C7899 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.089 H 230.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2C7899
RGBrgb(44, 120, 153)
HSLhsl(198, 55%, 39%)
HSVhsv(198, 71%, 60%)
CMYKcmyk(71.2%, 21.6%, 0%, 40%)
CIE-LABlab(47.32, -12.05, -24.56)
CIE-LCHlch(47.32, 27.36, 243.87°)
OKLaboklab(54.07% -0.0568 -0.0689)
OKLCHoklch(54.07% 0.089 230.5)
XYZxyz(13.5026, 16.2668, 32.5590)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7899 #994D2C
analogous
#2C9983 #2C7899 #2C4199
triadic
#2C7899 #992C78 #78992C
tetradic
#2C7899 #832C99 #994D2C #41992C
square
#2C7899 #832C99 #994D2C #41992C
split-complementary
#2C7899 #992C41 #99832C
monochromatic
#112D3A #1E5369 #2C7899 #3B9DC7 #6BB5D4

Accessibility & contrast

On white

4.94
#2C7899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2C7899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7899
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7899#FFFFFF#000000##FFFFFF
##2C78991.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#586B99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7899;
/* rgb */ color: rgb(44, 120, 153);
/* oklch */ color: oklch(54.1% 0.089 230.5);
Tailwind
colors: {
  custom: {
    50: '#739fb7',
    500: '#2c7899',
    950: '#000000',
  },
}
SCSS
$custom: #2c7899;
$custom-light: #739fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7899",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 198.165,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.08933,
    "h": 230.5
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#2C7899
secondary
#BB7F66
accent
#7649DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C7899

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

Preview Lab → · Contrast checker → · Palette generator →

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