#2797BA#2797BA

#2797BA is a light, moderate cyan. Relative luminance 0.261; OKLCH L 63.1% C 0.108 H 224.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2797BA
RGBrgb(39, 151, 186)
HSLhsl(194, 65%, 44%)
HSVhsv(194, 79%, 73%)
CMYKcmyk(79%, 18.8%, 0%, 27.1%)
CIE-LABlab(58.14, -18.44, -26.87)
CIE-LCHlch(58.14, 32.59, 235.55°)
OKLaboklab(63.15% -0.0777 -0.0754)
OKLCHoklch(63.15% 0.108 224.1)
XYZxyz(20.7625, 26.1072, 50.3898)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797BA #BA4A27
analogous
#27BA94 #2797BA #274EBA
triadic
#2797BA #BA2797 #97BA27
tetradic
#2797BA #9427BA #BA4A27 #4EBA27
square
#2797BA #9427BA #BA4A27 #4EBA27
split-complementary
#2797BA #BA274E #BA9427
monochromatic
#124555 #1C6E87 #2797BA #46B5D8 #79CAE3

Accessibility & contrast

On white

3.38
#2797BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#2797BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797BA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797BA#FFFFFF#000000##000000
##2797BA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BC
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#00A2A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2797ba;
/* rgb */ color: rgb(39, 151, 186);
/* oklch */ color: oklch(63.1% 0.108 224.1);
Tailwind
colors: {
  custom: {
    50: '#79b5ce',
    500: '#2797ba',
    950: '#000000',
  },
}
SCSS
$custom: #2797ba;
$custom-light: #79b5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2797ba",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 194.286,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63147,
    "c": 0.10824,
    "h": 224.1
  },
  "luminance": 0.2611
}

Semantic roles & 50–950 ramp

primary
#2797BA
secondary
#CB8772
accent
#6840E8
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2797BA

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

Preview Lab → · Contrast checker → · Palette generator →

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