#2797B6#2797B6

#2797B6 is a light, moderate cyan. Relative luminance 0.259; OKLCH L 63.0% C 0.105 H 221.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2797B6
RGBrgb(39, 151, 182)
HSLhsl(193, 65%, 43%)
HSVhsv(193, 79%, 71%)
CMYKcmyk(78.6%, 17%, 0%, 28.6%)
CIE-LABlab(57.98, -19.79, -24.86)
CIE-LCHlch(57.98, 31.77, 231.47°)
OKLaboklab(62.97% -0.0792 -0.0696)
OKLCHoklch(62.97% 0.105 221.3)
XYZxyz(20.3433, 25.9395, 48.1815)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797B6 #B64627
analogous
#27B68D #2797B6 #274FB6
triadic
#2797B6 #B62797 #97B627
tetradic
#2797B6 #8D27B6 #B64627 #4FB627
square
#2797B6 #8D27B6 #B64627 #4FB627
split-complementary
#2797B6 #B6274F #B68D27
monochromatic
#114351 #1C6D84 #2797B6 #43B7D7 #76CAE2

Accessibility & contrast

On white

3.39
#2797B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#2797B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797B6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797B6#FFFFFF#000000##000000
##2797B61.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8593B8
Deuteranopia (green-blind)
#7285B6
Tritanopia (blue-blind)
#00A1A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2797b6;
/* rgb */ color: rgb(39, 151, 182);
/* oklch */ color: oklch(63.0% 0.105 221.3);
Tailwind
colors: {
  custom: {
    50: '#79b5cc',
    500: '#2797b6',
    950: '#000000',
  },
}
SCSS
$custom: #2797b6;
$custom-light: #79b5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2797b6",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 182
  },
  "hsl": {
    "h": 193.007,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.62966,
    "c": 0.10545,
    "h": 221.3
  },
  "luminance": 0.25942
}

Semantic roles & 50–950 ramp

primary
#2797B6
secondary
#C98370
accent
#6440E8
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2797B6

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

Preview Lab → · Contrast checker → · Palette generator →

#2797B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva