#2797B3#2797B3

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

Color values

HEX#2797B3
RGBrgb(39, 151, 179)
HSLhsl(192, 64%, 43%)
HSVhsv(192, 78%, 70%)
CMYKcmyk(78.2%, 15.6%, 0%, 29.8%)
CIE-LABlab(57.86, -20.80, -23.33)
CIE-LCHlch(57.86, 31.26, 228.29°)
OKLaboklab(62.83% -0.0804 -0.0653)
OKLCHoklch(62.83% 0.104 219.1)
XYZxyz(20.0365, 25.8168, 46.5662)
Luminance0.2582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797B3 #B34327
analogous
#27B389 #2797B3 #2751B3
triadic
#2797B3 #B32797 #97B327
tetradic
#2797B3 #8927B3 #B34327 #51B327
square
#2797B3 #8927B3 #B34327 #51B327
split-complementary
#2797B3 #B32751 #B38927
monochromatic
#11424E #1C6D81 #2797B3 #41B8D6 #74CBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2797B3#FFFFFF#000000##000000
##2797B31.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)
#8693B5
Deuteranopia (green-blind)
#7385B3
Tritanopia (blue-blind)
#00A0A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2797b3;
/* rgb */ color: rgb(39, 151, 179);
/* oklch */ color: oklch(62.8% 0.104 219.1);
Tailwind
colors: {
  custom: {
    50: '#78b5c9',
    500: '#2797b3',
    950: '#000000',
  },
}
SCSS
$custom: #2797b3;
$custom-light: #78b5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2797b3",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 179
  },
  "hsl": {
    "h": 192,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.62834,
    "c": 0.10356,
    "h": 219.1
  },
  "luminance": 0.25819
}

Semantic roles & 50–950 ramp

primary
#2797B3
secondary
#C8806E
accent
#6241E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2797B3

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

Preview Lab → · Contrast checker → · Palette generator →

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