#2797B5#2797B5

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

Color values

HEX#2797B5
RGBrgb(39, 151, 181)
HSLhsl(193, 65%, 43%)
HSVhsv(193, 78%, 71%)
CMYKcmyk(78.5%, 16.6%, 0%, 29%)
CIE-LABlab(57.94, -20.13, -24.35)
CIE-LCHlch(57.94, 31.59, 230.42°)
OKLaboklab(62.92% -0.0796 -0.0681)
OKLCHoklch(62.92% 0.105 220.6)
XYZxyz(20.2403, 25.8983, 47.6392)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797B5 #B54527
analogous
#27B58C #2797B5 #2750B5
triadic
#2797B5 #B52797 #97B527
tetradic
#2797B5 #8C27B5 #B54527 #50B527
square
#2797B5 #8C27B5 #B54527 #50B527
split-complementary
#2797B5 #B52750 #B58C27
monochromatic
#114350 #1C6D83 #2797B5 #43B7D6 #75CAE1

Accessibility & contrast

On white

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

On black

6.18
#2797B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797B5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797B5#FFFFFF#000000##000000
##2797B51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2797b5;
/* rgb */ color: rgb(39, 151, 181);
/* oklch */ color: oklch(62.9% 0.105 220.6);
Tailwind
colors: {
  custom: {
    50: '#78b5cb',
    500: '#2797b5',
    950: '#000000',
  },
}
SCSS
$custom: #2797b5;
$custom-light: #78b5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2797b5",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 181
  },
  "hsl": {
    "h": 192.676,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.62922,
    "c": 0.1048,
    "h": 220.6
  },
  "luminance": 0.25901
}

Semantic roles & 50–950 ramp

primary
#2797B5
secondary
#C9826F
accent
#6440E8
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2797B5

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

Preview Lab → · Contrast checker → · Palette generator →

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