#2797B1#2797B1

#2797B1 is a light, moderate cyan. Relative luminance 0.257; OKLCH L 62.7% C 0.102 H 217.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2797B1
RGBrgb(39, 151, 177)
HSLhsl(191, 64%, 42%)
HSVhsv(191, 78%, 69%)
CMYKcmyk(78%, 14.7%, 0%, 30.6%)
CIE-LABlab(57.79, -21.46, -22.32)
CIE-LCHlch(57.79, 30.96, 226.12°)
OKLaboklab(62.75% -0.0812 -0.0624)
OKLCHoklch(62.75% 0.102 217.5)
XYZxyz(19.8357, 25.7364, 45.5086)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797B1 #B14127
analogous
#27B186 #2797B1 #2752B1
triadic
#2797B1 #B12797 #97B127
tetradic
#2797B1 #8627B1 #B14127 #52B127
square
#2797B1 #8627B1 #B14127 #52B127
split-complementary
#2797B1 #B12752 #B18627
monochromatic
#11414D #1C6C7F #2797B1 #40B9D5 #72CBE0

Accessibility & contrast

On white

3.42
#2797B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#2797B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797B1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797B1#FFFFFF#000000##000000
##2797B11.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8692B2
Deuteranopia (green-blind)
#7485B1
Tritanopia (blue-blind)
#00A09F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2797b1;
/* rgb */ color: rgb(39, 151, 177);
/* oklch */ color: oklch(62.7% 0.102 217.5);
Tailwind
colors: {
  custom: {
    50: '#78b5c8',
    500: '#2797b1',
    950: '#000000',
  },
}
SCSS
$custom: #2797b1;
$custom-light: #78b5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2797b1",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 177
  },
  "hsl": {
    "h": 191.304,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.62747,
    "c": 0.10239,
    "h": 217.5
  },
  "luminance": 0.25739
}

Semantic roles & 50–950 ramp

primary
#2797B1
secondary
#C77E6D
accent
#6041E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2797B1

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

Preview Lab → · Contrast checker → · Palette generator →

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