#2797B4#2797B4

#2797B4 is a light, moderate cyan. Relative luminance 0.259; OKLCH L 62.9% C 0.104 H 219.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2797B4
RGBrgb(39, 151, 180)
HSLhsl(192, 64%, 43%)
HSVhsv(192, 78%, 71%)
CMYKcmyk(78.3%, 16.1%, 0%, 29.4%)
CIE-LABlab(57.90, -20.46, -23.84)
CIE-LCHlch(57.90, 31.42, 229.36°)
OKLaboklab(62.88% -0.08 -0.0667)
OKLCHoklch(62.88% 0.104 219.8)
XYZxyz(20.1381, 25.8574, 47.1008)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797B4 #B44427
analogous
#27B48A #2797B4 #2751B4
triadic
#2797B4 #B42797 #97B427
tetradic
#2797B4 #8A27B4 #B44427 #51B427
square
#2797B4 #8A27B4 #B44427 #51B427
split-complementary
#2797B4 #B42751 #B48A27
monochromatic
#11434F #1C6D82 #2797B4 #42B8D6 #74CBE1

Accessibility & contrast

On white

3.40
#2797B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#2797B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797B4
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797B4#FFFFFF#000000##000000
##2797B41.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2797b4;
/* rgb */ color: rgb(39, 151, 180);
/* oklch */ color: oklch(62.9% 0.104 219.8);
Tailwind
colors: {
  custom: {
    50: '#78b5ca',
    500: '#2797b4',
    950: '#000000',
  },
}
SCSS
$custom: #2797b4;
$custom-light: #78b5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2797b4",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 180
  },
  "hsl": {
    "h": 192.34,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.62878,
    "c": 0.10417,
    "h": 219.8
  },
  "luminance": 0.2586
}

Semantic roles & 50–950 ramp

primary
#2797B4
secondary
#C8816F
accent
#6340E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2797B4

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

Preview Lab → · Contrast checker → · Palette generator →

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