#2797BC#2797BC

#2797BC is a light, moderate cyan. Relative luminance 0.262; OKLCH L 63.2% C 0.110 H 225.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2797BC
RGBrgb(39, 151, 188)
HSLhsl(195, 66%, 45%)
HSVhsv(195, 79%, 74%)
CMYKcmyk(79.3%, 19.7%, 0%, 26.3%)
CIE-LABlab(58.22, -17.75, -27.88)
CIE-LCHlch(58.22, 33.05, 237.51°)
OKLaboklab(63.24% -0.0769 -0.0783)
OKLCHoklch(63.24% 0.11 225.5)
XYZxyz(20.9766, 26.1928, 51.5174)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797BC #BC4C27
analogous
#27BC96 #2797BC #274DBC
triadic
#2797BC #BC2797 #97BC27
tetradic
#2797BC #9627BC #BC4C27 #4DBC27
square
#2797BC #9627BC #BC4C27 #4DBC27
split-complementary
#2797BC #BC274D #BC9627
monochromatic
#124657 #1C6E89 #2797BC #47B5D9 #7AC9E3

Accessibility & contrast

On white

3.37
#2797BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#2797BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797BC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797BC#FFFFFF#000000##000000
##2797BC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BE
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#00A2A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2797bc;
/* rgb */ color: rgb(39, 151, 188);
/* oklch */ color: oklch(63.2% 0.110 225.5);
Tailwind
colors: {
  custom: {
    50: '#7ab5d0',
    500: '#2797bc',
    950: '#000000',
  },
}
SCSS
$custom: #2797bc;
$custom-light: #7ab5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2797bc",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 194.899,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63239,
    "c": 0.10973,
    "h": 225.5
  },
  "luminance": 0.26195
}

Semantic roles & 50–950 ramp

primary
#2797BC
secondary
#CB8973
accent
#693FE9
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2797BC

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

Preview Lab → · Contrast checker → · Palette generator →

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