#2797B2#2797B2

#2797B2 is a light, moderate cyan. Relative luminance 0.258; OKLCH L 62.8% C 0.103 H 218.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2797B2
RGBrgb(39, 151, 178)
HSLhsl(192, 64%, 43%)
HSVhsv(192, 78%, 70%)
CMYKcmyk(78.1%, 15.2%, 0%, 30.2%)
CIE-LABlab(57.82, -21.13, -22.83)
CIE-LCHlch(57.82, 31.11, 227.21°)
OKLaboklab(62.79% -0.0808 -0.0638)
OKLCHoklch(62.79% 0.103 218.3)
XYZxyz(19.9358, 25.7765, 46.0355)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797B2 #B24227
analogous
#27B288 #2797B2 #2751B2
triadic
#2797B2 #B22797 #97B227
tetradic
#2797B2 #8827B2 #B24227 #51B227
square
#2797B2 #8827B2 #B24227 #51B227
split-complementary
#2797B2 #B22751 #B28827
monochromatic
#11424E #1C6C80 #2797B2 #41B8D5 #73CBE0

Accessibility & contrast

On white

3.41
#2797B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#2797B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797B2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797B2#FFFFFF#000000##000000
##2797B21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8693B3
Deuteranopia (green-blind)
#7385B2
Tritanopia (blue-blind)
#00A0A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2797b2;
/* rgb */ color: rgb(39, 151, 178);
/* oklch */ color: oklch(62.8% 0.103 218.3);
Tailwind
colors: {
  custom: {
    50: '#78b5c9',
    500: '#2797b2',
    950: '#000000',
  },
}
SCSS
$custom: #2797b2;
$custom-light: #78b5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2797b2",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 178
  },
  "hsl": {
    "h": 191.655,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6279,
    "c": 0.10296,
    "h": 218.3
  },
  "luminance": 0.25779
}

Semantic roles & 50–950 ramp

primary
#2797B2
secondary
#C87F6D
accent
#6141E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2797B2

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

Preview Lab → · Contrast checker → · Palette generator →

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