#2B7797#2B7797

#2B7797 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.7% C 0.088 H 229.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2B7797
RGBrgb(43, 119, 151)
HSLhsl(198, 56%, 38%)
HSVhsv(198, 72%, 59%)
CMYKcmyk(71.5%, 21.2%, 0%, 40.8%)
CIE-LABlab(46.90, -12.32, -24.05)
CIE-LCHlch(46.90, 27.02, 242.87°)
OKLaboklab(53.7% -0.0571 -0.0674)
OKLCHoklch(53.7% 0.088 229.7)
XYZxyz(13.1768, 15.9401, 31.6545)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7797 #974B2B
analogous
#2B9781 #2B7797 #2B4197
triadic
#2B7797 #972B77 #77972B
tetradic
#2B7797 #812B97 #974B2B #41972B
square
#2B7797 #812B97 #974B2B #41972B
split-complementary
#2B7797 #972B41 #97812B
monochromatic
#102C38 #1D5167 #2B7797 #399CC7 #68B4D4

Accessibility & contrast

On white

5.01
#2B7797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2B7797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7797
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7797#FFFFFF#000000##FFFFFF
##2B77971.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677599
Deuteranopia (green-blind)
#586A97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7797;
/* rgb */ color: rgb(43, 119, 151);
/* oklch */ color: oklch(53.7% 0.088 229.7);
Tailwind
colors: {
  custom: {
    50: '#739eb5',
    500: '#2b7797',
    950: '#000000',
  },
}
SCSS
$custom: #2b7797;
$custom-light: #739eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7797",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 197.778,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.08839,
    "h": 229.7
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#2B7797
secondary
#BB7D63
accent
#7549DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B7797

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

Preview Lab → · Contrast checker → · Palette generator →

#2B7797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva