#2C798E#2C798E

#2C798E is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.080 H 219.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2C798E
RGBrgb(44, 121, 142)
HSLhsl(193, 53%, 36%)
HSVhsv(193, 69%, 56%)
CMYKcmyk(69%, 14.8%, 0%, 44.3%)
CIE-LABlab(47.19, -16.36, -18.29)
CIE-LCHlch(47.19, 24.54, 228.20°)
OKLaboklab(53.81% -0.0623 -0.051)
OKLCHoklch(53.81% 0.08 219.3)
XYZxyz(12.7566, 16.1618, 28.0332)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C798E #8E412C
analogous
#2C8E72 #2C798E #2C488E
triadic
#2C798E #8E2C79 #798E2C
tetradic
#2C798E #722C8E #8E412C #488E2C
square
#2C798E #722C8E #8E412C #488E2C
split-complementary
#2C798E #8E2C48 #8E722C
monochromatic
#0F2931 #1E515F #2C798E #3AA1BD #65B9CF

Accessibility & contrast

On white

4.96
#2C798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2C798E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C798E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C798E#FFFFFF#000000##FFFFFF
##2C798E1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C768F
Deuteranopia (green-blind)
#5E6B8E
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c798e;
/* rgb */ color: rgb(44, 121, 142);
/* oklch */ color: oklch(53.8% 0.080 219.3);
Tailwind
colors: {
  custom: {
    50: '#729faf',
    500: '#2c798e',
    950: '#000000',
  },
}
SCSS
$custom: #2c798e;
$custom-light: #729faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c798e",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 192.857,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.08049,
    "h": 219.3
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#2C798E
secondary
#B67260
accent
#6B4CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2C798E

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

Preview Lab → · Contrast checker → · Palette generator →

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