#2797BD#2797BD

#2797BD is a light, moderate cyan. Relative luminance 0.262; OKLCH L 63.3% C 0.111 H 226.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2797BD
RGBrgb(39, 151, 189)
HSLhsl(195, 66%, 45%)
HSVhsv(195, 79%, 74%)
CMYKcmyk(79.4%, 20.1%, 0%, 25.9%)
CIE-LABlab(58.26, -17.41, -28.38)
CIE-LCHlch(58.26, 33.30, 238.47°)
OKLaboklab(63.29% -0.0765 -0.0797)
OKLCHoklch(63.29% 0.111 226.2)
XYZxyz(21.0848, 26.2361, 52.0870)
Luminance0.2624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2797BD #BD4D27
analogous
#27BD98 #2797BD #274CBD
triadic
#2797BD #BD2797 #97BD27
tetradic
#2797BD #9827BD #BD4D27 #4CBD27
square
#2797BD #9827BD #BD4D27 #4CBD27
split-complementary
#2797BD #BD274C #BD9827
monochromatic
#124658 #1D6E8A #2797BD #48B4D9 #7BC9E4

Accessibility & contrast

On white

3.36
#2797BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#2797BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2797BD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2797BD#FFFFFF#000000##000000
##2797BD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294BF
Deuteranopia (green-blind)
#6F86BD
Tritanopia (blue-blind)
#00A2A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2797bd;
/* rgb */ color: rgb(39, 151, 189);
/* oklch */ color: oklch(63.3% 0.111 226.2);
Tailwind
colors: {
  custom: {
    50: '#7ab5d1',
    500: '#2797bd',
    950: '#000000',
  },
}
SCSS
$custom: #2797bd;
$custom-light: #7ab5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2797bd",
  "rgb": {
    "r": 39,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 195.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63285,
    "c": 0.1105,
    "h": 226.2
  },
  "luminance": 0.26239
}

Semantic roles & 50–950 ramp

primary
#2797BD
secondary
#CC8A74
accent
#6A3FE9
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2797BD

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

Preview Lab → · Contrast checker → · Palette generator →

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